Table of Contents
getNearestColorName Method 

Returns the name of the nearest named color.

Syntax
JavaScript
 ColorPicker.getNearestColorName(c)

Parameters

c
Color in the form of "#RRGGBB".

Return Value

The name of the nearest named color.

See Also