🔍
← Back to Dashboard

🌈 Hex ↔ RGB

Preview

Hex vs. RGB Color Formats

Web developers and designers constantly switch between different color representations. This tool converts instantly between Hexadecimal codes and RGB/RGBA values.

Understanding the Formats

Hex (#RRGGBB):
A 6-digit code using base-16 (0-9, A-F).
First 2 digits = Red
Middle 2 digits = Green
Last 2 digits = Blue
Example: #FF0000 (Red)
RGB (r, g, b):
Uses base-10 numbers from 0 to 255.
Example: rgb(255, 0, 0)

When to Use Which?

FAQ

What is the Alpha channel?

The Alpha channel controls transparency. 0 is fully transparent, 1 (or 255) is fully opaque. Hex codes can also have alpha (#RRGGBBAA), but support varies.