is an option to specify the maximum distance allowed between colors.


MaxColorDistance
is an option to specify the maximum distance allowed between colors.
Details

- Color distances are typically computed using ColorDistance. Most functions take a DistanceFunction option to specify a metric to be computed.
Examples
open all close allBasic Examples (1)
MaxColorDistance can specify the maximum allowed distance between colors:
Scope (1)
The default distance threshold might not always provide a match:
Use a higher MaxColorDistance to match a broader color range:
Properties & Relations (1)
In certain functions, setting MaxColorDistance is the same as giving a range in ColorsNear:
History
Text
Wolfram Research (2019), MaxColorDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxColorDistance.html.
CMS
Wolfram Language. 2019. "MaxColorDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MaxColorDistance.html.
APA
Wolfram Language. (2019). MaxColorDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MaxColorDistance.html
BibTeX
@misc{reference.wolfram_2025_maxcolordistance, author="Wolfram Research", title="{MaxColorDistance}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/MaxColorDistance.html}", note=[Accessed: 18-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_maxcolordistance, organization={Wolfram Research}, title={MaxColorDistance}, year={2019}, url={https://reference.wolfram.com/language/ref/MaxColorDistance.html}, note=[Accessed: 18-August-2025]}