COLOR_NULL

const
Color

Default HSV color object used as the initial / empty state of OrigamColorPicker. Represents opaque black (h=0, s=0, v=0, a=1).

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Entries

Values

All entries in this constant. Click a value to copy it to clipboard.

h: 0
Hue — 0 = red/black start of the hue wheel.
s: 0
Saturation — 0 = fully desaturated (greyscale / black).
v: 0
Value (brightness) — 0 = black.
a: 1
Alpha — 1 = fully opaque.

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamColorPicker

Usage

Examples

Ready-to-paste code snippets using this constant.

Resetting the picker to the null color

typescript