Returns the hexadecimal representation of an HTML color name.
public static getHexColor ( string $colorname ) : string | ||
$colorname | string | A color name. |
return | string | The hex representation of the color. |
public static getHexColor ( string $colorname ) : string | ||
$colorname | string | A color name. |
return | string | The hex representation of the color. |