How do I convert HEX to RGB or HSL?
Enter values such as #0EA5E9, #0af, or a hex string without # on the Color Code Converter page. RGB and HSL update instantly.
DevTools Color Code Converter converts HEX, RGB, and HSL values locally in your browser, with shorthand HEX expansion, live preview, and one-click copy—free with no sign-up.
Convert color values between HEX, RGB, and HSL with live preview, shorthand HEX expansion, and copyable output.
Color sample
Edit any format; the others sync automatically.
HEX supports #0af, 0af, and #00AAFF; RGB accepts rgb(14, 165, 233) or 14, 165, 233; HSL accepts hsl(199, 89%, 48%) or 199, 89%, 48%.
Ideal for frontend development, design handoff, and theme tuning. Enter any of HEX, RGB, or HSL and the other formats sync automatically with a live color preview.
Enter values such as #0EA5E9, #0af, or a hex string without # on the Color Code Converter page. RGB and HSL update instantly.
Yes. Three-digit shorthand like #0af expands to six-digit HEX and syncs RGB and HSL.
Yes. Inputs like rgb(14, 165, 233), 14, 165, 233, or hsl(199, 89%, 48%) reverse-sync to standard HEX and the other format.
No. All color math runs locally in your browser.
Format and beautify SQL, HTML, XML, and YAML, plus a regex debugger—all run locally in the browser, free with no sign-up.
Full JSON toolkit: format, validate, minify, convert to CSV/XML, diff, generate and validate Schema, JSONPath, and tree view—all processed locally in the browser.
Upload a logo, preview browser and Google search results, configure iOS/Android icons, and generate a complete favicon package in one click.
Base64, JWT, SHA256, MD5, HMAC, Bcrypt, RSA keys, SSL certificates, and password strength—common encoding and security text utilities.