Sign In

$findClosestColorName[]

Finds the closest named color(s) to a given color code, optionally returning multiple results.

v1.1.0+ Requires Brackets

Usage

$findClosestColorName[;;]
Also callable as
$closestColorName $nearestColor

Arguments

NameTypeRequiredDescription
color
StringYesThe color to compare.
results
NumberNoNumber of closest matches to return (default: 1).
separator
StringNoSeparator to join multiple results (default: ', ').

Output

String

Was this page helpful?