HEX to RGBA Converter

#
Enter 6-digit HEX code or use color picker
%
0% = Fully transparent, 100% = Fully opaque
Checkered background shows transparency
HEX:#3498DB
RGBA:rgba(52, 152, 219, 0.8)
RGB:rgb(52, 152, 219)
HSLA:hsla(204, 70%, 53%, 0.8)
100%
75%
50%
25%
10%
CSS Usage Examples
background-color: rgba(52, 152, 219, 0.8);
color: rgba(52, 152, 219, 0.8);
border: 2px solid rgba(52, 152, 219, 0.8);
Understanding RGBA

RGBA extends RGB with an alpha channel for transparency:

  • Red (R): Red color component (0-255)
  • Green (G): Green color component (0-255)
  • Blue (B): Blue color component (0-255)
  • Alpha (A): Transparency level (0.0-1.0)
Transparency Use Cases

Common applications for transparent colors:

  • Overlays: Semi-transparent backgrounds
  • Hover Effects: Subtle state changes
  • Layered Design: Complex visual compositions
  • Modern UI: Glass morphism and material design