>>Naomi,
>>
>>Prepend its hexadecimal value with # and you can use the full string as the value for a color in HTML.
>>
>>
>>'#' + (rgbColorValueAsResultOfGetColor).toString(16);
>>
>
>Thanks, Antonio. My colleague is working on that now, so I'll let you know how it goes.
Revised:
'#' + ('00000' + (rgbValue).toString(16)).slice(-6)
----------------------------------
António Tavares Lopes