Learn R Programming

munsellinterpol (version 1.0.2)

srgb2xyz: Convert sRGB coordinates to XYZ

Description

srgb2xyz Converts sRGB coordinates to XYZ.

Usage

srgb2xyz(RGBmatrix)

Arguments

RGBmatrix

sRGB coordinates

Value

CIE XYZ coordinates

References

Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/

Examples

Run this code
# NOT RUN {
srgb2xyz(c(0.310897, 0.306510, 74.613450))
# }

Run the code above in your browser using DataLab