Function isValidAlphaHexCode

  • Checks if a hex code is a valid alpha hex code.

    Parameters

    • hexCode: string

      The hex code to validate.

    Returns boolean

    • True if the hex code is valid, false otherwise.