• Test whether an input represents a valid 6-character color string

    Parameters

    • color: string

      The input string to test

    Returns boolean

    Is the string a valid color?