Skip to content

Documentation / @ripl/core / scaleRGB

Variable: scaleRGB ​

const scaleRGB: Scale<number, number>

Defined in: packages/core/src/color/scales.ts:33

A continuous scale mapping normalized values (0–1) to the RGB channel range (0–255) with clamping.