A two-way converter for RGB and XYZ color codes, ideal for web design and image processing.

RGB to HEX Color Converter
Convert RGB and HEX color codes online. Get accurate color conversions for designers and developers.

RGB & CIELab Color Converter
Two-way conversion between RGB and CIELab color spaces, providing precise color mapping for designers and developers.

RGB to HSB Converter
Two-way RGB and HSB/HSV color code converter supporting multiple input formats. Ideal for designers and developers.
When designers need to accurately convert color values between the device-dependent RGB color space and the device-independent XYZ color space, this tool provides real-time, two-way calculation capabilities. RGB (Red, Green, Blue) is an additive color model designed for displays, while XYZ (CIE 1931) is an absolute color space based on human visual perception, where the Y value directly represents the luminance component. The tool uses standardized algorithms to convert RGB color codes (e.g., rgb(77,141,234)) into XYZ tristimulus values (e.g., 24.08, 24.73, 83.98), and vice versa.
The tool will reject invalid formats and clear the output box. Please ensure you use integers (0-255) for RGB and floating-point numbers for XYZ.
Yes. This tool defaults to the sRGB (D65 white point) standard for conversion. If you are using other RGB color spaces, you need to convert them to sRGB first.
RGB input values must be integers between 0 and 255, and the Y value in XYZ is typically a luminance parameter ranging from 0 to 100. There may be a minor loss of precision during the conversion process; for critical color management scenarios, we recommend using professional software for verification. The tool does not save user input data, but please avoid entering sensitive information.
Typical conversion example: The sRGB standard rgb(77,141,234) corresponds to CIE XYZ 24.08, 24.73, 83.98. When performing cross-media color matching, it is recommended to uniformly convert all colors to the XYZ space before comparison to avoid device discrepancy issues. Note that monitor gamma correction will affect the actual display output.