Skip to content

Color

Module @netwiv/api/window · Kind Type

import { Color } from '@netwiv/api/window';

An RGBA color. Each value has minimum of 0 and maximum of 255.

It can be either a string #ffffff, an array of 3 or 4 elements or an object.

type Color = Color

Upstream since 2.0.0


Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.