RGB HEX Converter
Convert between RGB, HEX, HSL, and CMYK color codes. Live color preview. Free, instant.
RGB Input
HEX Input
Format: #RRGGBB or #RGB
rgb(211, 51, 51)
#D33333
hsl(0, 65%, 51%)
cmyk(0%, 76%, 76%, 17%)
About RGB to HEX Converter
Convert between RGB, HEX, HSL, and CMYK color spaces instantly. Adjust RGB sliders or type a hex value — all representations update in real time with a live color preview.
Four Color Spaces
See your color in RGB, HEX, HSL, and CMYK simultaneously. Perfect for web designers, print designers, and developers.
Live Color Preview
A 100x100 color swatch updates in real time as you adjust sliders or type values. See exactly what you're working with.
RGB Sliders
Fine-tune red, green, and blue channels with number inputs or range sliders. Values from 0-255 for each channel.
HEX Shortcut
Type any hex color code (#RRGGBB or #RGB shorthand) and instantly see the RGB, HSL, and CMYK equivalents.
How It Works
- Adjust the RGB sliders — Use the R, G, and B sliders or type values directly to pick a color.
- Or enter a HEX code — Type a hex color like #FF6600 or shorthand like #F60.
- Watch the preview update — The color swatch changes instantly to match your input.
- Read all conversions — RGB, HEX, HSL, and CMYK values are displayed in a clean grid.
- Copy any value — Click any color code to copy it to your clipboard for use in your project.