Learn R Programming

colorscience (version 1.0.0)

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

source

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

References

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

Examples

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

Run the code above in your browser using DataLab