color

Color transformation helpers.

Methods
hexToDec converts a hexadecimal color code to the decimal format
hsvToRgb converts an HSV color code to the RGB format
rgbToHex converts an RGB color code to the HEX format
rgbToHsv converts an RGB color code to the HSV format
toHex converts a decimal number to the hexadecimal format
toRgb converts a hexadecimal color code or RGB code string to the RGB array
Back to top