powered by
Convert a named color into a hexadecimal color with rgb value
color2hex(color)
A named color
a hexadecimal color
# NOT RUN { color2hex("green") color2hex("red") # }
Run the code above in your browser using DataLab