Type a HEX code or pick a color. See the R, G, B and A decimal values plus the combined RGB integer, click any value to copy it.
Enter a valid HEX code - 3, 6 or 8 digits.
Everything runs in your browser - no colors are ever uploaded
Click any value - HEX or any decimal number - and it's copied instantly, with a quick confirmation.
See R, G, B and A decimal values plus the combined RGB integer for the same color, no extra clicks.
Type a code, use the eyedropper, or drag the picker - whatever's fastest for you.
No sign-up, no watermark, convert as many colors as you like.
Type a HEX code directly, or use the color picker and eyedropper.
R, G, B, A and the combined RGB integer appear instantly below the preview.
Tap any value and it's copied straight to your clipboard, ready to paste.
Split the HEX code into its R, G and B pairs and read each pair as a base-16 number. For example #7C3AED becomes R=124, G=58, B=237 in decimal. This tool does the math for you automatically.
It's the whole color expressed as one base-10 number, calculated as R × 65536 + G × 256 + B. It's the same value many databases and programming languages store a color as.
No. Every conversion happens locally in your browser. Nothing you type or pick is sent to a server.
Yes - use the Decimal to HEX converter for the reverse direction, or any of the other format converters linked below.
No. Convert as many colors as you like, for free, with no account required.