Intosoft 工具

颜色转换器和调色板

粘贴任意颜色格式——HEX、RGB、HSL、HWB、OKLCH、命名颜色或值

hex
白色文字黑色文字
HEX#3B82F6
RGBrgb(59, 130, 246)
HSLhsl(217, 91%, 60%)
HWBhwb(217 23% 4%)
CSS Modernrgb(59 130 246)
色相217°
饱和度91%
亮度60%
不透明度100%

白色文字在此颜色上

AA AAA 3.68:1

黑色文字在此颜色上

AA AAA 5.71:1

WCAG AA 要求普通文本 4.5:1,大文本 3:1。AAA 分别要求 7:1 和 4.5:1。

100
200
300
400
500
600
700
800
900
950
互补色
类似色
三色
分裂互补
四色
:root {
  --color-primary: #3B82F6;
  --color-primary-rgb: 59, 130, 246;
  --color-primary-hsl: 217, 91%, 60%;
}

Learn More About Color

Design accessible color schemes for all users:

Instant Results
100% Private
No Installation
Free by Intosoft

About Color Converter

Color formats vary depending on the platform—web design uses HEX and RGB, while print uses CMYK. Our free online Color Converter instantly translates colors between HEX, RGB, HSL, HSV, and other formats.

How It Works

The tool parses your input color and uses mathematical formulas to convert the color values into different color spaces. For example, it converts a base-16 HEX string into base-10 RGB values, and then calculates hue, saturation, and lightness for HSL.

Common Use Cases

  • Translating design mockups (HEX) into CSS code (RGB/HSL)
  • Converting digital colors (RGB) to print-ready formats (CMYK)
  • Finding the exact color codes for brand guidelines
  • Adjusting color opacity using RGBA or HSLA values

Frequently Asked Questions

RGB defines colors based on the amount of Red, Green, and Blue light. HSL defines colors based on Hue (the color itself), Saturation (intensity), and Lightness (brightness), which is often more intuitive for human designers.

Screens emit light (RGB), while printers absorb light using ink (CMYK). Some bright RGB colors cannot be perfectly reproduced in CMYK, leading to slight visual differences.