InvalidColor

InvalidColor

Error given when a Color is invalid

Constructor

new InvalidColor(color, type)

Source:
Parameters:
Name Type Description
color any

The color that generated this error

type "Color" | "rgb" | "hex" | "css" | "grayscale" | "any"

The type of the color expected

Extends

  • Error

Classes

InvalidColor