Skip to content

Function: kelvinToRGB()

ts
function kelvinToRGB(kelvin): KelvinRGB;

Linear RGB colour corresponding to a colour temperature in Kelvin.

Parameters

ParameterType
kelvinnumber

Returns

KelvinRGB

Distribué sous la licence indiquée dans le dépôt.