Developers
How to use custom hex colors in Tailwind CSS
One-off colors, theme colors and a full 50 to 950 scale built from a single hex code.
Developers
How to add opacity to a hex color in CSS
Use 8-digit hex, rgb with alpha or color-mix, with a full opacity-to-hex table.
Developers
Design tokens for color: how to name and organize them
Primitive, semantic and component tokens explained, with CSS variable examples and dark mode.
Developers
Hex vs RGB vs HSL: which color format should you use?
When to write colors as hex, RGB, HSL or OKLCH in CSS, and why it matters.