opsinjs

Rgb255

A colour as 0 to 255 sRGB integers, which is what APCA is defined over.

How this is generated

Source: lib/color/apca.ts. Script: scripts/build-reference.mts. Command: pnpm run generate.

Everything below is copied from the symbol, so a page is improved by improving its doc comment. The API index says why there is a page per symbol and what these pages still do not carry.

Rgb255

A colour as 0 to 255 sRGB integers, which is what APCA is defined over.

KindDeclared in
typelib/color/apca.ts
export type Rgb255 = [number, number, number]

On this page