R/hexdistance.R
pev_hex_distance.Rd
This returns the distance, according to the method
,
between corresponding hexcolors in hex
and hex_ref
.
pev_hex_distance(hex, hex_ref, method = "cie2000")
hex 


hex_ref 

method 

numerical
vector, same length as hex
and hex_ref
.
The vectors hex
and hex_ref
must be the same length.
pev_hex_distance("#000000", "#FFFFFF")#> [1] 100#> [1] 0 100#> [1] 0 100