Enter a color to see conversions...
Color Converter translates colors between the three formats developers and designers use most: Hex, RGB, and HSL. Enter a color in any one format and instantly see its equivalent in the other two, along with a live preview swatch so you can confirm you have the right color.
Type a hex code like #8B5CF6, an rgb() value, or an hsl() value, and every representation updates together. This makes it easy to copy the exact format your CSS, design tool, or code expects.
Key features: Hex, RGB, and HSL conversion in every direction, live color preview, real-time updates across all formats, and one-click copy of any value.
Each color model is suited to different tasks: Hex is compact and ubiquitous in CSS and design handoffs, RGB maps directly to how screens emit light, and HSL (hue, saturation, lightness) makes it intuitive to create tints, shades, and color variations. Converting between them lets you work in whichever model fits the job. All conversion runs locally in your browser — no data is sent anywhere.
We use cookies for anonymous analytics and ads. Your tool data never leaves your browser.