Learn R Programming

colorscience (version 1.0.0)

RGB2XYZ: Convert sRGB coordinates to XYZ

Description

RGB2XYZ Converts sRGB coordinates to XYZ.

Usage

RGB2XYZ(RGBmatrix, illuminant = "D65", observer = 2, RefWhite
                 = XYZperfectreflectingdiffuser, RGBModel = "sRGB",
                 RefWhiteRGB = whitepointsRGB, gamma = NA,
                 RefWhiteIllum = XYZperfectreflectingdiffuser, CAT =
                 "Bradford", CATarray = ChromaticAdaptation)

Arguments

RGBmatrix
sRGB coordinates
illuminant
illuminant
observer
observer
RefWhite
White Reference
RGBModel
RGB Model
RefWhiteRGB
White Reference RGB
gamma
gamma
RefWhiteIllum
White Reference illuminant
CAT
Chromatic Adaptation algorithm
CATarray
Chromatic Adaptation data

Value

  • CIE XYZ coordinates

source

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

References

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

Examples

Run this code
RGB2XYZ(c(0.310897, 0.306510, 74.613450))

Run the code above in your browser using DataLab