Performs color conversions.

Hierarchy

Expanded class hierarchy of Color

File

core/includes/color.inc, line 6

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
Color::hexToRgb public static function Parses a hexadecimal color string like '#abc' or '#aabbcc'.
Color::rgbToHex public static function Converts RGB color arrays and RGB strings in CSS notation to lowercase simple colors like '#aabbcc'.
Color::validateHex public static function Validates whether a hexadecimal color value is syntactically correct.