Understanding Color Data
The RGB model is an additive color model in which red, green, and blue light are added together in various ways to reproduce a broad array of colors.
Hexadecimal codes are simply a base-16 representation of RGB. This makes them compact and easy for developers to share in CSS and design files.
Math Tip:
Each pair in a hex code (e.g., #FF0000) corresponds to a decimal value from 0 to 255.
CSS Hierarchy
HEX: The standard for digital design.
RGB: Best for programmatic manipulation.
HSL: Most intuitive for human adjustment (Hue, Sat, Light).