WOLFRAM

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

Details

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

MaxColorDistance can specify the maximum allowed distance between colors:

Out[6]=6

Increase the maximum distance to match more colors to red:

Out[16]=16

The default distance threshold might not always provide a match:

Out[2]=2

Use a higher MaxColorDistance to match a broader color range:

Out[3]=3

Properties & Relations  (1)Properties of the function, and connections to other functions

In certain functions, setting MaxColorDistance is the same as giving a range in ColorsNear:

Out[1]=1
Out[2]=2
Wolfram Research (2019), MaxColorDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxColorDistance.html.
Wolfram Research (2019), MaxColorDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxColorDistance.html.

Text

Wolfram Research (2019), MaxColorDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxColorDistance.html.

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.

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

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: 29-March-2025 ]}

@misc{reference.wolfram_2025_maxcolordistance, author="Wolfram Research", title="{MaxColorDistance}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/MaxColorDistance.html}", note=[Accessed: 29-March-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: 29-March-2025 ]}

@online{reference.wolfram_2025_maxcolordistance, organization={Wolfram Research}, title={MaxColorDistance}, year={2019}, url={https://reference.wolfram.com/language/ref/MaxColorDistance.html}, note=[Accessed: 29-March-2025 ]}