Function getNameStandard

Get the name of the nearest color in the given sRGB color name dictionary using the ΔE* 2000 difference function in CIELCh(ab) space with the D65/2° standard illuminator-observer pair.

  • Parameters

    • color: Rgb

      The color.

    • names: Map<string, Rgb> = ntc

      The sRGB color name dictionary. Defaults to Name That Color.

    Returns string

    The nearest color name.