Welcome

Guest

Log out

Subscription valid until 2017-02-25



















 

Color conversion math and formulas

These are the formulas used by our Color Calculator.
Each conversion formula is written as a "neutral programming function", easy to be translate in any specific computer language.
If you are searching for more generic information about color, on the Net there are several good sites devoted to color science, physics, psychology, physiology and technology.
Check our Links page or our FAQ page for a list of handy color references.

XYZ —> RGB

RGB —> XYZ

XYZ —> Yxy

Yxy —> XYZ

XYZ —> Hunter-Lab

Hunter-Lab —> XYZ

XYZ —> CIE-L*ab

CIE-L*ab —> XYZ

CIE-L*ab —> CIE-L*CH°

CIE-L*CH° —>CIE-L*ab

XYZ —> CIE-L*uv

CIE-L*uv —> XYZ

RGB —> HSL

HSL —> RGB

RGB —> HSV

HSV —> RGB

Range of HSL, HSB and HSV in popular applications

RGB —> CMY

CMY —> RGB

CMY —> CMYK

CMYK —> CMY

XYZ (Tristimulus) Reference values of a perfect reflecting diffuser

Observer

2° (CIE 1931)

10° (CIE 1964)

 Illuminant

X2

Y2

Z2

X10

Y10

Z10

 A (Incandescent)

109.850

100

35.585

111.144

100

35.200

 C

98.074

100

118.232

97.285

100

116.145

 D50

96.422

100

82.521

96.720

100

81.427

 D55

95.682

100

92.149

95.799

100

90.926

 D65 (Daylight)

95.047

100

108.883

94.811

100

107.304

 D75

94.972

100

122.638

 94.416

100

120.641

 F2 (Fluorescent)

99.187

100

67.395

103.280

100

69.026

 F7

95.044

100

108.755

95.792

100

107.687

 F11

100.966

100

64.370

103.866

100

65.627

Top