Helper functions colorToDecimal(color) Returns the decimal value for a Hex-color Parameters color (string) - HEX Color to be converted to decimal