col2hex {seqsetvis} | R Documentation |
converts a valid r color name ("black", "red", "white", etc.) to a hex value
col2hex(color_name)
color_name |
character. one or more r color names. |
hex value of colors coded by colors()
col2hex(c("red", "green", "blue")) col2hex(c("lightgray", "gray", "darkgray"))