Categories

color.valid()

Categories: CSS | Color Object

color.valid()Returns: Boolean

Plugin: jQuery.color

Description: Check whether the parsed css color is valid.

  • color.valid()

    version added: 1.2

If jQuery.Color() method initally parsed a color string it could be an invalid css color. The .valid() method returns whether the parsed string is valid.