🎨 HEX to RGB Converter

Convert HEX color codes to RGB values and vice versa. Perfect for web designers, developers, and digital artists.

Hex Color

#FF0000
Hex Color

RGB Color

rgb(255, 0, 0)
RGB Color

Color Information

Hex Format
#FF0000
Hexadecimal
RGB Format
rgb(255, 0, 0)
Red, Green, Blue

Common Colors

Red
#FF0000
rgb(255, 0, 0)
Green
#00FF00
rgb(0, 255, 0)
Blue
#0000FF
rgb(0, 0, 255)
Yellow
#FFFF00
rgb(255, 255, 0)
Magenta
#FF00FF
rgb(255, 0, 255)
Cyan
#00FFFF
rgb(0, 255, 255)
Black
#000000
rgb(0, 0, 0)
White
#FFFFFF
rgb(255, 255, 255)

Conversion Information

• Hex colors use base-16 notation (0-9, A-F)
• RGB values range from 0 to 255 for each color channel
• Format: #RRGGBB (Red, Green, Blue in hexadecimal)
• Short format: #RGB expands to #RRGGBB

How to Use

1. Enter a HEX color code (e.g., #FF0000)

2. Or enter RGB values (e.g., 255, 0, 0)

3. Use the color picker to select colors visually

4. Copy the converted values for your project

Features

Convert HEX to RGB and RGB to HEX

Visual color preview and picker

Support for HSL color format

CSS-ready color values