Color Guides
Practical, tested explanations of how color works on screens and in code, written by the Hex Color Picker Team. Every example in these guides was checked with the same conversion code that powers the tools. You can also subscribe by RSS.
How to Pick Colors From an Image Accurately
Three ways to get a color code from a photo or screenshot, why the result can differ from what you expect, and how to build a palette from one image.
. 8 minute read
CSS Gradients Guide: Linear, Radial and Conic, With Examples
How CSS gradients work: syntax for linear, radial and conic gradients, color stops, angles, hard edges, smooth blends, banding and contrast.
. 8 minute read
RGB vs CMYK: Why Screen Colors Look Different in Print
Why a color on screen rarely matches the printed result, how gamut and ICC profiles work, and a practical workflow for converting brand colors to print.
. 8 minute read
HSL for Designers: How to Build Tints, Shades and Color Scales
Why HSL is the friendliest format for adjusting color, how to build a lightness scale, and where HSL misleads you about how bright a color looks.
. 8 minute read
Complementary vs Analogous Color Schemes: How to Choose
How complementary, analogous, triadic and monochromatic schemes work, what each is good for, and how to use them without a garish result.
. 8 minute read
How to Build a Color Palette for a Website, Step by Step
A practical method for choosing a website palette: pick a base color, add neutrals and accents, set roles, test contrast, and store it as CSS variables.
. 8 minute read
Using Hex, RGB and HSL Colors in CSS and HTML
Every way to write a color in CSS: names, hex, rgb(), hsl(), transparency and variables, with working examples and notes on which syntax to choose.
. 8 minute read
Color Contrast and Accessibility: A Practical Guide for Designers and Developers
How the WCAG contrast ratio is calculated, what 4.5:1 and 3:1 mean in practice, worked examples, and common mistakes with text, buttons and links.
. 9 minute read
How Hex Color Codes Work (and How to Read Them at a Glance)
What the six characters in a hex color code mean, how to convert them by hand, how shorthand and 8-digit codes work, and how to spot a color from its code.
. 8 minute read
Hex, RGB, HSL and CMYK Explained: Which Color Format Should You Use?
A plain-language guide to the four color formats: how each one works, where it came from, how they convert, and which to use for web, design and print.
. 10 minute read