rgb8ToRgb1
rgb8ToRgb1(
value):RgbCoords
Defined in: packages/math-color/src/conversions/rgb-rgb8.ts:31
Converts RGB values from the range [0, 255] to [0, 1].
Parameters
Section titled “Parameters”The RGB color in the range [0, 255].
Returns
Section titled “Returns”The corresponding RGB color in the range [0, 1].