Learn R Programming

colorscience (version 1.0.8)

xy2CCT.McCamy: convert from chromaticity coordinates to correlated color temperature

Description

xy2CCT.McCamy convert from chromaticity coordinates to correlated color temperature (approximation).

Usage

xy2CCT.McCamy(x,y)

Arguments

x

x coordinates

y

y coordinates

Value

CCT McCamy

References

C. S. McCamy, 1992 "Correlated color temperature as an explicit function of chromaticity coordinates" Color Research & Application Volume 17, Issue 2, pages 142<U+2013>144

Examples

Run this code
# NOT RUN {
xyY <- c(0.4083308, 0.2988462, 0.08391198)
xy2CCT.McCamy(xyY[1],xyY[2])
# }

Run the code above in your browser using DataLab