Generate colors from a HEX color using HCL palette
Usage
ggeopal_hex_to_hcl(hex, n = 4)
Arguments
- hex
A string HEX color
- n
Number of colors wanted
Value
A string vector of HEX colors
Examples
ggeopal_hex_to_hcl("#222b4c") |>
prismatic::color()
#> <colors>
#> #222B4CFF #757889FF #B9BAC3FF #EAEAEDFF
ggeopal_hex_to_hcl("#222b4c", 6) |>
prismatic::color()
#> <colors>
#> #222B4CFF #5B5F74FF #8D909EFF #B9BAC3FF #DCDDE1FF #F4F5F6FF