RGB overview

Added in v1.0.0


Table of contents


Model

RGB (type alias)

Represents strings which are valid RGB colors. Permits both absolute and percentage based values.

Signature

export type RGB = Branded<string, RGBBrand>

Added in v1.0.0

String

RGB

Represents strings which are valid RGB colors. Permits both absolute and percentage based values.

Signature

export declare const RGB: Schema<Opaque<string, RGBBrand>, Opaque<string, RGBBrand>>

Added in v1.0.0