hexToDec

converts a hexadecimal color code to the decimal format

number hexToDec(string hex);
hexstringthe hexadecimal color code
numberthe decimal color code

Example

webix.color.hexToDec("ff0066");// -> 16711782

See also
Back to top