deserializeHexColor

Converts a color parameter string into a hexadecimal color string.

Signatures

  •   deserializeHexColor( rgbStr )

Details

The function creates a hexadecimal color string from a paramate parameter string represented in RGB format.

Parameters

rgbStr

The paramate color parameter string of form 'rgb(r,g,b)'

Return value

Hexadecimal color string of form '#RRGGBB'