Lets say I have a RGB value of (0, 255, 0), how do I put that in a function which returns the hex value of it like below:
var rgbColor = div.backgroundColor;