It is thought to specify a colorpath using HCL coordinates; it seems reasonable to compile these coordinates using a data frame.
as_mat_luv(df_hcl, chroma_min = 0.01)
data.frame
with variables h
, c
, l
.
numeric
minimum value for chroma, helps preserve hue.
matrix
with columns, l
, u
, v
and same number
of rows as df_hcl
as_mat_luv(df_hcl_blues)
#> l u v
#> [1,] 30 -0.003424503 -9.393376e-03
#> [2,] 60 -51.303007837 -1.409539e+02
#> [3,] 90 -0.003433110 -9.386274e-03