Colorx

Author: Jonathan Czeck (aarku)

Description
This script provides a helper function to tie in with HSBColor that will let you slerp between two Unity Colors. The slerp function provides much more pleasing visual results than Color.Lerp.

Usage
Put this script in a file in /Plugins/Colorx.cs so that it may be callable by JavaScript. Additionally, there is a helper class called HSBColor that this relies on. This script, Colorx.cs, provides a quick helper function to slerp between two Colors, which gives much more visually pleasing results than Color.Lerp.

Unity Package
Download the attached package and import it into one of your projects.

[[Media:HSBColor.unityPackage.zip|HSBColor.unityPackage.zip]] ‎

C# - Extended Colorx.cs
This version of Colorx adds functions to manipulate H, S, and B values of any Color. By: Josh Koleszar (talk) 23:35, 20 October 2013 (CEST)