Returns the hexadecimal representation of the color or an empty string if not applicable. For example, returns '#ff0000' if red=255, green=0, blue=0.
Tags:
void setFromHex(
string
$hex)
|
|
Initializes color from an hexadecimal color, this string must
look like '#rrggbb'. Passing an empty string unset the color
Tags:
Parameters: