Categories

ep.color.hexToName()

Categories: Color | Utilities

ep.color.rgbToName( hex )

Plugin: ep.color

Description: Convert hex color to color name.

  • ep.color.rgbToName( hex )

    version added: 6.12.0

    hex   A hex color string.

Convert hex color to color name string. Only the css color names are supported.

  • Convert hex color to hsb color format.

    Code:
    ep.color.hexToHsb('#008000');
    
    Results:
    green