Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Color

Either be a reference to an existing color or a color value as a hex string, rgba, or hsla.

Index

Variables

Functions

Variables

Const black

black: string | RGBA | HSLA | ColorTransformation = rgba(0, 0, 0, 1)

Const white

white: string | RGBA | HSLA | ColorTransformation = rgba(255, 255, 255, 1)

Functions

darken

hsla

  • hsla(h: number, s: number, l: number, a?: number): Color

lighten

rgba

  • rgba(r: number, g: number, b: number, a?: number): Color

transparent