interface Rgba

An sRGB color with its alpha, each channel 0–255 and alpha 0–1.

Properties

r: number
g: number
b: number
a: number

Usage

import { type Rgba } from "api/lib/css-color.ts";