cct
Generates an RGB color from a color correlated color temperature (CCT) in Kelvin.
This uses the standard CCT to RGB conversion formula to approximate the color of light at a given temperature. Useful for creating realistic lighting based on physical color temperatures (e.g., 6500K for daylight, 3000K for warm indoor light).
Return
Linear RGB color as a 3-element array R, G, B
Parameters
Color temperature in Kelvin (typically 1000K to 10000K)
Generates an RGB color from a color correlated color temperature (CCT) in Kelvin.
This uses the standard CCT to RGB conversion formula to approximate the color of light at a given temperature. Useful for creating realistic lighting based on physical color temperatures (e.g., 6500K for daylight, 3000K for warm indoor light).
Return
Linear RGB color as a 3-element array R, G, B
Parameters
Color temperature in Kelvin (typically 1000K to 10000K)
Generates an RGB color from a color correlated color temperature (CCT) in Kelvin.
This uses the standard CCT to RGB conversion formula to approximate the color of light at a given temperature. Useful for creating realistic lighting based on physical color temperatures (e.g., 6500K for daylight, 3000K for warm indoor light).
Return
Linear RGB color as a 3-element array R, G, B
Parameters
Color temperature in Kelvin (typically 1000K to 10000K)
Generates an RGB color from a color correlated color temperature (CCT) in Kelvin.
This uses the standard CCT to RGB conversion formula to approximate the color of light at a given temperature. Useful for creating realistic lighting based on physical color temperatures (e.g., 6500K for daylight, 3000K for warm indoor light).
Return
Linear RGB color as a 3-element array R, G, B
Parameters
Color temperature in Kelvin (typically 1000K to 10000K)
Generates an RGB color from a color correlated color temperature (CCT) in Kelvin.
This uses the standard CCT to RGB conversion formula to approximate the color of light at a given temperature. Useful for creating realistic lighting based on physical color temperatures (e.g., 6500K for daylight, 3000K for warm indoor light).
Return
Linear RGB color as a 3-element array R, G, B
Parameters
Color temperature in Kelvin (typically 1000K to 10000K)