Currently all colors are converted and displayed as hexadecimal values:
library(taylor)
color_palette(c("firebrick", "wheat", "#0051ba"))
#> <color_palette[3]>
#> #B22222
#> #F5DEB3
#> #0051ba
Created on 2021-10-18 by the reprex package (v2.0.0)
Would be nice if names were preserved, e.g.,
color_palette(c("firebrick", "wheat", "#0051ba"))
#> <color_palette[3]>
#> firebrick
#> wheat
#> #0051ba
Similarly, could be good to preserve named vectors as well. For example,
ku_colors <- c(ku_blue = "#0051ba", crimson = "#e8000d", jayhawk_yellow = "#ffc82d")
color_palette(c("firebrick", "wheat", "#0051ba"))
#> <color_palette[3]>
#> ku_blue
#> crimson
#> jayhawk_yellow
Currently all colors are converted and displayed as hexadecimal values:
Created on 2021-10-18 by the reprex package (v2.0.0)
Would be nice if names were preserved, e.g.,
Similarly, could be good to preserve named vectors as well. For example,