R color to Lab colourspace conversion. Calculated with Observer. = 2°, Illuminant = D65.
Arguments
- col
vector of hex or color names
- ref_X, ref_Y, ref_Z
Reference values for Observer= 2°, Illuminant= D65
Details
The formulas used to convert from RGB to XYZ and XYZ to Lab are from http://www.easyrgb.com/en/math.php and the reference values are from http://www.brucelindbloom.com/index.html?ColorCheckerCalcHelp.html
See also
Other color:
color_conv()
,
lab2rgb()