About Color Codes

Formula: HEX #RRGGBB ↔ RGB(r, g, b) ↔ HSL(h, s%, l%)

Colors can be represented in multiple formats. HEX uses six hexadecimal digits for red, green, and blue channels (00–FF each). RGB specifies each channel as a decimal from 0–255. HSL describes color as hue (0–360°), saturation (0–100%), and lightness (0–100%), which is often more intuitive for adjusting colors.