Sign In

$colorTemperature[]

Estimates the color temperature (Kelvin) from a given color.

v1.0.2+ Requires Brackets

Usage

$colorTemperature[;]
Also callable as
$temperatureFromColor $colorToTemperature $colorTemp

Arguments

NameTypeRequiredDescription
color
StringYesThe input color.
returnKelvin
BooleanNoIf true, return the approximate Kelvin instead of warm/cool/neutral classification.

Output

String

Was this page helpful?