Math.HexColorToNumber

number Math.HexColorToNumber ( 

string HexValue )

Example 1

nDecimalValue = Math.HexColorToNumber("FF0000");

Converts the hex value "FFFF00" to the equivalent decimal value (255);

See also:  Related Actions