Modern CSS Color Declarations
Hexadecimal color notation is universally supported across every web browser since HTML 1.0. Modern CSS expands hex support to include 8-digit alpha transparency and CSS custom property theming.
Practical guide to applying hexadecimal colors in CSS stylesheets, CSS custom properties (variables), modern 8-digit alpha channels, and dark-mode switching.
Hexadecimal color notation is universally supported across every web browser since HTML 1.0. Modern CSS expands hex support to include 8-digit alpha transparency and CSS custom property theming.
Convert any color between HEX, RGB, HSL, HSV, and CMYK.
Test your text and background for WCAG AA/AAA compliance.
Generate aesthetic 5-color harmony palettes.
Calculate 10-step monochromatic shade scales.
Understand how 6-digit (#RRGGBB), 3-digit (#RGB), and 8-digit (#RRGGBBAA) hexadecimal color codes work, from base-16 mathematics to browser rendering.
A deep technical comparison between HEX and RGB/RGBA color models in web development, CSS stylesheets, design systems, and rendering engines.
Learn why digital colors look different when printed. Explore the physics of additive RGB light versus subtractive CMYK ink and how to avoid gamut clipping.