Edge Rewrite
Jump to content

Module:Color temperature/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This module is used by Template:Color temperature. The input color temperature may be any value greater than or equal to 800, and is measured in kelvins. The resulting RGB value is in sRGB.

{{#invoke:Color temperature|hex|2700}} -> ffad59

{{#invoke:Color temperature|swatch|5000}} ->     5,000 K

{{#invoke:Color temperature|xy|8000}} -> 0.29517288, 0.30473579