Static
addAdd the given PaletteColor.HEX and PaletteColor.NAME to the matched colors map.
Static
getRetrieves the name of the color represented by the given colorHex. If the colorHex string is not well formatted or the nearest color function encounters an error, the method will return undefined.
The hex string representation of the color whose
name is being retrieved (format: #RRGGBB
).
Static
has
Manager to store and retrieve the names of colors based on their hex string value.