Computes the perceptional distance between two neighboring colors
ColorDistance(pal, color.space = "LAB")
the color palette
color space in which the distance shall be computed (default "LAB")
a vector of distances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.