RGB
An additive color model defining colors as combinations of Red, Green, and Blue light, each from 0-255.
Definition
RGB stands for Red, Green, Blue. It's the additive color model used by all screens and digital displays. Each channel ranges from 0 (no light) to 255 (full intensity). Combining all three at full strength produces white (255,255,255); all at zero produces black (0,0,0).
Formula
rgb(R, G, B) where 0 ≤ R, G, B ≤ 255. CSS also supports rgb(R G B / alpha) for transparency.
Example
rgb(255, 0, 0) = red. rgb(0, 255, 0) = green. rgb(255, 255, 0) = yellow. rgb(224, 176, 255) = Mauve (#E0B0FF).