RGB Color Converter
Convert RGB (Red, Green, Blue) values to any color format. RGB is the fundamental color model for screens, using values from 0 to 255 for each channel.
#e74c3c
rgb(231, 76, 60)
hsl(6, 78%, 57%)
oklch(0.631 0.194 29.4)
cmyk(0%, 67%, 74%, 9%)
Use Cases
Converting design tool color values to CSS
Cross-platform color matching
Color manipulation in JavaScript/Python
LED and screen color programming
Tips
RGB uses additive color mixing — all 255s = white, all 0s = black
The css function rgb(r, g, b) is directly usable in stylesheets
For transparency, use rgba(r, g, b, a) where a is 0-1
FAQ
What is the RGB color model?
RGB stands for Red, Green, Blue. It's an additive color model where colors are created by combining red, green, and blue light. Each channel ranges from 0 to 255.
How do I convert RGB to HEX?
Convert each RGB value (0-255) to hexadecimal (00-FF). Example: rgb(255, 128, 0) becomes #FF8000.
How many colors can RGB represent?
RGB with 8 bits per channel can represent 256 x 256 x 256 = 16,777,216 colors (16.7 million).
What is rgba?
RGBA adds an alpha channel for transparency. The alpha value ranges from 0 (transparent) to 1 (opaque).