ConvertHTMLcolourToRGB Function

Converts a colour definition from HTML format to decimal RGB format.

HTML format is in the form #rrggbb where rr, gg and bb are hexadecimal values describing the red, green and blue content respectively. The decimal RGB value is equal to bb*65536 + gg*256 + rr expressed as a decimal integer.

Arguments

Number Type Compulsory Default Description
1 String Yes HTML Colour

Argument 1

HTML Colour. See description for details

Returns

Return type: String

Decimal RGB colour value. See description for details