compute the distance between two colors
colors in formats recognized by ColorTools
metric : name or string the names accepted are cie76, cie94 (the default), cie00, or cmc. The strings accepted are the names of color spaces.
raw : if this option is given, the metric is not normalized
The Distance command computes the distance between two colors using one of several standard color metrics. The metric can be chosen by passing a name to the metric option. The cie94, cie00, and cmc metrics are not commutative. For these metrics, color1 is the reference color and color2 is the sample color. In these metrics a distances of less than 0.01 mean the two colors are generally not visually distinguishable.
If the metric option is passed a string, then the metric used is the Euclidean distance in the color space represented by that string.
All metrics are normalized so that the distance between white and black is equal to 1 unless the raw option is given.
Wikipedia, Color Difference, http://wikipedia.org/wiki/Color_difference
The ColorTools[Distance] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
Download Help Document
What kind of issue would you like to report? (Optional)