1. 1.12.x includes/color.inc Color
  2. 1.10.x includes/color.inc Color
  3. 1.11.x includes/color.inc Color
  4. 1.7.x includes/color.inc Color

Performs color conversions.

Hierarchy

Expanded class hierarchy of Color

File

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 syntatically correct.