CSS color formats
| Format | Example | Notes |
|---|---|---|
| HEX | #16a34a | Two hex digits each for red, green, blue |
| Short HEX | #0f0 | Each digit doubled: #00ff00 |
| RGB | rgb(22 163 74) | 0–255 per channel |
| HSL | hsl(142 76% 36%) | Hue angle, saturation, lightness |
| Alpha | #16a34a80 | Last pair is opacity (80 ≈ 50%) |
Hex is just base 16: a3 = 10 × 16 + 3 = 163. Try the number base converter.