RGB
In computing, RGB stands for Red, Green, Blue, and refers to a color model used for digital displays and lighting. It works by mixing varying intensities of red, green, and blue light to create a spectrum of millions of colors, which are then displayed on screens or produced by RGB lighting on PC hardware. A common implementation uses a scale from 0 to 255 for each color, where \(0,0,0\) is black and \(255,255,255\) is white.
How it works
Color creation: Pixels on a screen are made up of red, green, and blue sub-pixels. By adjusting the brightness of each, a specific color is produced.
Color range: In a 24-bit color system, each channel (red, green, blue) can have 256 different values (0-255), allowing for over 16 million unique colors to be displayed (\(256\times 256\times 256=16,777,216\)).
Common applications
Digital screens: Monitors, TVs, and phone screens use RGB to display images, videos, and text.
Computer hardware: Many PC components, such as motherboards, RAM sticks, graphics cards, and keyboards, feature RGB lighting for aesthetic customization, particularly in gaming setups.
Web and graphic design: RGB is the standard for on-screen design and is used to define colors in HTML, CSS, and other design software.