Returns the given RGB color converted to hex (e.g. rgb(255, 0, 0) → #ff0000).
rgb(255, 0, 0)
#ff0000
null if invalid color.
null
Returns the given RGB color converted to hex (e.g.
rgb(255, 0, 0)→#ff0000).