@tempots/color

SRGB.withRed property

Returns a new SRGB color with the specified red value.

Signature:

readonly withRed: (red: number) => SRGB;