rgbMix
rgbMix(
a,b,t):RgbCoords
Defined in: packages/math-color/src/models/rgb.ts:38
Linearly interpolates between two RgbCoords values.
Operates in whatever colour space the caller provides (linear or gamma). For physically correct blending pass linear-light values.
Parameters
Section titled “Parameters”Start colour (t = 0).
End colour (t = 1).
number
Interpolation factor in [0, 1].