颜色转换器
在 HEX、RGB、HSL、HSV 和 CMYK 之间转换。
Enter a color in any common format — HEX, RGB(A), HSL(A), HSV or CMYK — and instantly see every other format with a live preview. Copy the value you need with one click. This is the single tool for all color-format conversions; everything runs locally in your browser.
HEX
RGB
RGBA
HSL
HSLA
HSV
CMYK
所有颜色转换均在你的浏览器本地完成 —— 不上传、不存储、不记录。
工作原理
- 1 Type a color, or pick one from the swatch.
- 2 Read the HEX, RGB, RGBA, HSL, HSLA, HSV and CMYK equivalents.
- 3 Copy the format you need.
- 4 Clear or load the example to start over.
常见用例
- Translate a brand HEX into RGB or HSL for CSS.
- Build an rgba() value with the right opacity.
- Get CMYK values for print from a screen color.
- Match a design-tool color to code.
常见问题
Is my color data sent anywhere?
No. Every conversion and calculation runs entirely in your browser — nothing is uploaded, stored or logged.
Which formats are supported?
HEX (3/4/6/8 digits), RGB, RGBA, HSL, HSLA, HSV and CMYK. You can enter any of them and read all the others.
Why convert to CMYK?
CMYK approximates how a color prints. It's a simple conversion (not color-managed), so treat it as a starting point and verify with your printer for exact results.
Is it really free?
Yes — free, with no signup, no watermark and no limits.