Learn R Programming

colorscience (version 1.0.8)

XYZtoRGB: convert from XYZ coordinates to RGB

Description

XYZtoRGB convert from XYZ coordinates to RGB.

Usage

XYZtoRGB(xc, yc, zc, ColorSystem = c(0.67, 0.33, 0.21, 0.71,
                 0.14, 0.08, 0.31, 0.316))

Arguments

xc

XYZ X coordinates

yc

XYZ Y coordinates

zc

XYZ Z coordinates

ColorSystem

RGB Color System data

Value

RGB coordinates

References

Bruce Justin Lindbloom, 2014 http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html

Examples

Run this code
# NOT RUN {
XYZtoRGB(0.11465380, 0.08391198, 0.08222077)
# }

Run the code above in your browser using DataLab