How to Adjust Hue, Saturation, and Lightness in a Color Picker
Start with a clear color problem, make small HSL adjustments, and compare the result with the colors around it before applying the final value.
A PRACTICAL REFERENCE / 01—08
A compact desk for developers and creators working with structured data, encoding and color. Make a change, inspect the result, and keep moving.
Local rule processing · Your input stays in this browser.
| Input | Rule to remember |
|---|---|
| JSON numbers | JavaScript numbers can lose integer precision beyond ±9,007,199,254,740,991. |
| URL components | Encode components separately; encoding a whole URL changes its separators. |
| Timestamps | Choose seconds or milliseconds explicitly; no unit is inferred. |
| Contrast | Ratios use relative luminance; check the actual text and background colors. |
Practical articles from the library, newest first.
Start with a clear color problem, make small HSL adjustments, and compare the result with the colors around it before applying the final value.
A contrast ratio only becomes meaningful when you know which colors were measured and which WCAG criterion applies. Use this guide to assess text,…
Check the parts of an icon that communicate meaning against the colors immediately behind them. Use a contrast checker, consider changing backgrounds, and verify…
Identify the color differences that carry meaning in a chart, compare the relevant pairs, and reinforce the results with labels, patterns, shapes, and a…
Learn how to trace a keyboard focus cue, choose the colors that touch it, compare each relevant pair, and decide when a result needs…