RGB is the standard color model for screens, combining light to produce colors.
How RGB works
- Each color channel: 0-255 (8 bits).
- Total colors: 256³ = 16,777,216 combinations.
- Additive: More light = brighter (white at max).
- 0,0,0 = black (no light).
- 255,255,255 = white (full light).
RGB representations
- Decimal: rgb(255, 87, 51)
- Hexadecimal: #FF5733
- Percentage: rgb(100%, 34%, 20%)
Common colors
- Red: #FF0000 (255, 0, 0)
- Green: #00FF00 (0, 255, 0)
- Blue: #0000FF (0, 0, 255)
- Yellow: #FFFF00 (255, 255, 0)
- Magenta: #FF00FF (255, 0, 255)
- Cyan: #00FFFF (0, 255, 255)
Related models
- RGBA: RGB + Alpha (transparency).
- HSL: Hue, Saturation, Lightness (more intuitive).
- HSV: Hue, Saturation, Value.
- CMYK: Print colors (subtractive model).
Applications
- Web design (CSS colors).
- Digital photography.
- Video editing.
- Display calibration.
Related Articles
View all articlesHow to Open HEIC Files on Windows: Complete Guide to iPhone Photo Compatibility
Learn why Windows cannot open iPhone HEIC photos by default and discover the best methods to view and convert HEIC files on Windows 10 and 11.
Read article →
How can I detect steganography and hidden data in files?
Learn methods to detect steganography techniques used to hide data in files, including statistical analysis, specialized tools, and forensic approaches.
Read article →
What is the difference between additive (RGB) and subtractive (CMYK) color mixing?
Understand the fundamental differences between additive (RGB) and subtractive (CMYK) color models, how they work, and when to use each in design and printing.
Read article →
How do I create accessible color combinations that meet WCAG standards?
Learn how to create accessible color combinations that meet WCAG contrast standards, ensuring your designs are readable for people with color vision deficiency.
Read article →