Skip to main content

ColorPickerCSSColorEquals

Callable

  • ColorPickerCSSColorEquals(Color1: string, Color2: string): boolean

  • Checks if two hex color codes are equal, will convert short hand hex codes (#FFF is equal to #FFFFFF)


    Parameters

    • Color1: string

      First color to compare

    • Color2: string

      Second color to compare

    Returns boolean

    • Returns TRUE if the two colors are the same