R/pev_data_hcl_ref.R
pev_data_hcl_ref.Rd
An approximation, for now.
pev_data_hcl_ref(.fpal, hex_ref, n = NULL, method = "cie2000", include_cvd = TRUE, ...) # S3 method for default pev_data_hcl_ref(.fpal, hex_ref, n = NULL, method = "cie2000", include_cvd = TRUE, ...) # S3 method for character pev_data_hcl_ref(.fpal, hex_ref, n = NULL, method = "cie2000", include_cvd = TRUE, ...) # S3 method for pev_fcont pev_data_hcl_ref(.fpal, hex_ref, n = NULL, method = "cie2000", include_cvd = TRUE, ...) # S3 method for pev_funbounded pev_data_hcl_ref(.fpal, hex_ref, n = NULL, method = "cie2000", include_cvd = TRUE, ...) # S3 method for pev_fbounded pev_data_hcl_ref(.fpal, hex_ref, n = NULL, method = "cie2000", include_cvd = TRUE, ...)
.fpal | palette-function. |
---|---|
hex_ref |
|
n |
|
method |
|
include_cvd |
|
... | other args (not used) |
data.frame
with variables cvd
, x_nearest
, distance_nearest
,
hex
, hex_ref
, hue
, chroma
, luminance
.
pev_data_hcl_ref("Viridis", "#008F97")#> # A tibble: 4 x 8 #> cvd x_nearest distance_nearest hex_nearest hex_ref hue_ref chroma_ref #> <chr> <dbl> <dbl> <chr> <chr> <dbl> <dbl> #> 1 none 0.547 0.533 #009097 #008F97 201. 43.8 #> 2 deut… 0.547 0.533 #596798 #586798 258. 43.3 #> 3 prot… 0.547 0.533 #788097 #777F97 255. 21.3 #> 4 trit… 0.547 0.533 #009C91 #009B90 181. 45.6 #> # … with 1 more variable: luminance_ref <dbl>