Hex to RGB Converter
Convert hex color codes to RGB, HSL, and CMYK values instantly. Live color preview, adjustable sliders, and ready-to-use CSS code.
100% client-side. Your data never leaves your browser.
rgb(255, 87, 51)
rgba(255, 87, 51, 1)
#FF5733
hsl(11, 100%, 60%)
hsla(11, 100%, 60%, 1)
cmyk(0%, 66%, 80%, 0%)
--color-primary: #FF5733;
Quick Presets
Related Tools
Live Preview
See your color update in real-time as you type hex codes or adjust RGB sliders. Includes a native color picker for visual selection.
Multiple Formats
Convert between HEX, RGB, RGBA, HSL, HSLA, and CMYK color formats. One-click copy for any format you need.
CSS Ready
Get ready-to-use CSS code with one click. Copy hex, rgb(), hsl(), or CSS custom property declarations directly into your stylesheets.
Need something custom built?
I build custom Laravel tools, web apps, and SaaS platforms. If you need something beyond off-the-shelf, let's talk.
ContactFrequently Asked Questions
How do I convert hex to RGB?
What is the difference between hex and RGB colors?
Can I convert RGB back to hex?
What is the hex code for white and black?
#FFFFFF in hex or rgb(255, 255, 255). Black is #000000 in hex or rgb(0, 0, 0). You can click the Black and White preset buttons above to load these values.