Checks if the given string is a valid hexadecimal color code.

  • Parameters

    • value: string

      The string to validate.

    Returns boolean

    True if the string is a valid hexadecimal color code, false otherwise.