Description Usage Arguments Details Value Examples
This returns the distance, according to the method
,
between corresponding hex-colors in hex
and hex_ref
.
1 | pev_hex_distance(hex, hex_ref, method = "cie2000")
|
hex |
|
hex_ref |
|
method |
|
The vectors hex
and hex_ref
must be the same length.
numerical
vector, same length as hex
and hex_ref
.
1 2 3 | pev_hex_distance("#000000", "#FFFFFF")
pev_hex_distance(c("#000000", "#FFFFFF"), c("#000000", "#000000"))
pev_hex_distance(c("#000000", "#FFFFFF"), "#000000")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.