Hierarchy

  • RGBSuper
    • RGB

Properties

Methods

Constructors

Accessors

r g b

Properties

validate: ((color: string) => boolean) = isRGBColor

Type declaration

    • (color: string): boolean
    • Parameters

      • color: string

      Returns boolean

_r: number
_g: number
_b: number

Methods

Constructors

  • Parameters

    • Optional r: number
    • Optional g: number
    • Optional b: number

    Returns RGB

Accessors