Color Converter
Convert colors between Hex, RGB, HSL, and OKLCH with a live swatch and hue slider.
Loading tool…
浏览器内运行这个工具能做什么
Parse and convert colors across Hex, RGB, HSL, and OKLCH formats with full D65 color math.
Use the hue slider to explore hue variations while preserving lightness and chroma.
这个工具可以完成什么
Color Converter auto-detects the input format and converts to Hex, RGB, HSL, and OKLCH simultaneously.
依赖结果前需要检查什么
- Performance and maximum practical input size depend on browser memory, device speed, and the structure of the input.
- Review the generated result before replacing or publishing an original file.
如何使用
- 1
Paste any color value: #hex, rgb(), rgba(), hsl(), hsla(), or oklch().
- 2
Copy the output in whichever format you need.
- 3
Drag the hue slider to explore related hues.
常见问题
What formats are supported?
Hex (#rgb, #rrggbb, #rrggbbaa), rgb(), rgba(), hsl(), hsla(), and oklch().
What is OKLCH?
OKLCH is a perceptually uniform color model defined by lightness, chroma, and hue. It is widely supported in modern CSS.
Does the hue slider change the input?
No. It adjusts only the displayed color by rotating the hue channel in OKLCH space while keeping lightness and chroma constant.
下一步常用工具
如果还需要校验、转换或复用结果,可以继续打开相近的浏览器本地工具。