<?xml version="1.0" encoding="utf-8"?>

RGB

RGB

Just like people, colors have names and "ID numbers." RGB color system constructs colors by blending three hues of light (red, green, and blue) and defines their digital values. Simply put, each hue adjusts the intensity of the color with a value ranging between 0 and 255.[1] For example, the color with RGB (255, 0, 0) will appear purely red because we set red to its highest value (255) and the other two (green and blue) — to 0. For example, to specify the background color for a headline using the RGB model, you should follow the syntax: <h1 style="background-color:rgb(32, 178, 170);">...</h1>.

Improve your UX & Product skills with interactive courses that actually work