Create HCL data-frame using HL surface
df_hcl(df_cl, sfc)
data.frame
with columns c
, l
.
function
created using surface_hl()
.
tibble
with columns h
, c
, l
sfc_blues_multi <- surface_hl(c(240, 260))
df_cl <- data.frame(l = c(20, 50, 80), c = c(0, 150, 0))
df_hcl(df_cl, sfc_blues_multi)
#> # A tibble: 3 × 3
#> h c l
#> <dbl> <dbl> <dbl>
#> 1 244 0 20
#> 2 250 150 50
#> 3 256 0 80