hexcolors

The hexcolors blog

Practical, no-fluff guides on color for designers and developers.

Design

How to choose colors for your website, step by step

A practical process for picking a palette that looks professional, stays readable and fits your audience.

November 21, 20262 min read

More articles

Design

hexcolors Color of the Year 2026: Tidewater

Why our editors picked a deep blue-green for 2026, how it performs for readability, and how to use it.

November 21, 20261 min read
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.

November 20, 20261 min read
Accessibility

How to build an accessible color palette from scratch

Design for contrast first, then pick colors, so every approved pair is readable.

November 19, 20261 min read
Branding

How to build a brand color system that scales

Primary, secondary, neutrals and status colors, and how to document them so a team can use them.

November 18, 20262 min read
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.

November 17, 20261 min read
Accessibility

Designing for color blindness: a practical guide

How the main types of color vision deficiency work and how to design interfaces that stay clear.

November 16, 20261 min read
Developers

Design tokens for color: how to name and organize them

Primitive, semantic and component tokens explained, with CSS variable examples and dark mode.

November 15, 20261 min read
Accessibility

WCAG contrast ratio explained, with the math

How contrast ratio is calculated, what the AA and AAA thresholds mean, and a worked example.

November 14, 20262 min read
Design

How to choose colors for charts and data visualization

Categorical, sequential and diverging palettes, and how to keep charts readable for everyone.

November 13, 20261 min read
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.

November 12, 20261 min read
Basics

RGB vs CMYK: why screen and print colors differ

How additive and subtractive color mixing work and what to do when you design for both.

November 11, 20261 min read
Basics

What is a hex color code?

A plain explanation of hex color codes, how they work, and how to read them.

November 10, 20261 min read
Basics

How to convert hex to RGB (and back)

Step-by-step hex to RGB conversion with a worked example.

November 9, 20261 min read
Accessibility

Choosing accessible text colors

How contrast ratios work and which WCAG levels your text colors should meet.

November 8, 20261 min read
Design

Color theory basics

Hue, saturation, lightness and the color wheel in plain language.

November 6, 20261 min read
Design

How to pick a color palette

A simple method for building a balanced palette for a website or brand.

November 5, 20261 min read
Design

Choosing colors for dark mode

Practical rules for dark interfaces that stay readable and comfortable.

November 4, 20261 min read
Branding

Color psychology in branding

What colors tend to signal, and why context matters more than rules.

November 3, 20261 min read
Design

Colors that go with blue

Pairings for blue that look good and stay accessible.

November 2, 20261 min read