ColorDistance {colorpatch} | R Documentation |
Computes the perceptional distance between two neighboring colors
ColorDistance(pal, color.space = "LAB")
pal |
the color palette |
color.space |
color space in which the distance shall be computed (default "LAB") |
a vector of distances
data("OptimGreenRedLAB")
dd <- ColorDistance(OptimGreenRedLAB)