Sub topic 2
Value: How Light or Dark a Color Is
Assume you know that screens mix red, green, and blue light and can read simple CSS. In color design, value describes how light or dark a color appears. A high-value color is bright; a low-value color is dark. Value helps create hierarchy, depth, and readable text.
From RGB to a Designer-Friendly Description
RGB stores a color as three channel values: red, green, and blue. For example, (51, 102, 204) is a medium blue. A designer-friendly model separates the color into properties:
| Property | Meaning |
|---|---|
| Hue | The color family, such as blue or orange |
| Saturation | How pure or muted the color is |
| Value | How bright or dark the color is |
Value is useful when comparing colors without being distracted by hue. A dark blue and dark red can share a similar value and therefore create similar visual weight.
HSV and HSL: Two Ways to Organize the Same Three Ideas
HSV means hue, saturation, and value. In HSV, value is the largest normalized RGB channel. Setting value to zero produces black.
HSL means hue, saturation, and lightness. HSL lightness is the midpoint between the highest and lowest RGB channels:
lightness = (maximum channel + minimum channel) / 2
HSV and HSL use the same hue idea, but their saturation and brightness behavior differs. HSV is useful for thinking about brightness and selecting vivid colors. HSL is common in CSS because lightness adjustments are convenient for creating variants.
Tints, Tones, and Shades of a Single Hue
Keep the hue fixed to make a family of related colors:
- A tint adds white, increasing lightness.
- A shade adds black, decreasing lightness.
- A tone reduces saturation, making the color more muted.
In code, you can create these variations by changing lightness or saturation while preserving the hue.
Complementary, Analogous, and Triadic Harmonies
The color wheel represents hue as an angle from 0° to 360°:
- Complementary colors are opposite: 210° and 30°.
- Analogous colors sit near each other, such as 200°, 210°, and 220°.
- Triadic colors are separated by 120°, such as 0°, 120°, and 240°.
Use value contrast to make one color dominant and the others supportive.
Exercise
Which model uses the midpoint of the maximum and minimum RGB channels for its lightness?
Show answer
HSL. HSV instead uses the maximum RGB channel as its value.