Color Converter — HEX · RGB · HSL
Convert a color between HEX, RGB, and HSL and copy any format with one click. Edit the HEX code or the R/G/B channels and everything updates live.
不收集数据
没有数据库,没有账户。我们无法查看您的文件。
极速
浏览器原生处理 — 无需上传,无需等待。
100%免费
无限制,无水印,无隐藏费用。
无需账户
无需登录。打开工具即可使用。
Understanding color formats
HEX, RGB, and HSL
HEX (e.g. #4F46E5) is the six-digit hexadecimal notation used in CSS and design tools. RGB describes the same color as red, green, and blue channels from 0–255. HSL expresses it as hue, saturation, and lightness, which is often more intuitive for adjusting a shade.
All three describe the same on-screen color — this tool just translates between them so you can use whichever a given app expects.
Why HSL is handy
HSL makes it easy to create variations of a color: keep the hue, lower the lightness for a darker shade, or reduce saturation for a muted tone. That's harder to eyeball in HEX or RGB.
Frequently asked questions
Does it accept 3-digit HEX codes?
Yes. Short HEX like #4F0 is expanded automatically (to #44FF00).
Are RGB and HSL rounded?
RGB channels are 0–255 integers; HSL is rounded to whole degrees and percentages for clean, copy-ready values.
Is anything sent to a server?
No. All conversion happens locally in your browser.
Can I convert RGB to HEX too?
Yes — edit the R, G, and B fields and the HEX updates instantly.