garrynewman/garrysmod — pull request #797 by WizzyDraconia (2014-08-29 22:25:10+00:00)
Title: Made Color a callable table allowing static functions.

Added various predefined colors such as Color.Red
Localized various function in order to compensate *minor* speed loss from callable table.
Optimized call overhead of Color:ToHSV()

Added static functions:
Color.FromHSV alias of HSVToColor
Color.FromHex parses a 6 digit hex string
Color.FromVector turns a vector into a color

methods:

Color:Copy() returns an equivalent color object
Color:GetRGB() returns r g b as seperate arguments
Color:GetRGBA() see above plus alpha
Color:CloneNewAlpha(a) method version of ColorAlpha