How to Build a Complete Color Palette from a Single Hex Code
Learn how to build a production color palette from hex. Generate a 50 to 950 tonal scale, mix brand-tinted neutrals, and verify accessible contrast.
Practical writing for designers and developers: how color palettes hold together and why contrast rules exist, plus the everyday details of cron jobs, Unix time and file permissions that trip people up.
Learn how to build a production color palette from hex. Generate a 50 to 950 tonal scale, mix brand-tinted neutrals, and verify accessible contrast.
29 articles
Pure black (#000000) and pure white (#FFFFFF) strain eyes in dark mode. Use these tested dark surface hex codes, contrast targets, and CSS tokens instead.
Most interfaces look chaotic because brand color covers too much screen space. Here is how to use the 60-30-10 distribution rule to create visual balance.
Linear gradients create motion along an axis, while radial gradients create depth and focus. Here is how to use both effectively in modern web UI.
Hard-coded hex codes make dynamic theming and tinting painful in CSS. Here is why modern design systems use functional colors like HSL and OKLCH.
What does chmod 700 mean? Learn how Linux permission 700 works, why it locks out group and world, and when to use it on your private keys and scripts.
Why do bright digital hex colors turn dull and muddy when printed? Learn how additive and subtractive gamuts work and how to convert colors without ugly shifts.
Fix the invalid JSON trailing comma error in seconds. Learn why JSON bans trailing commas, how parsers flag them, and how to strip them with regex.
WCAG 2.1 contrast math has a major blind spot: it ignores font weight and treats dark mode identically to light mode. Here is how APCA fixes text readability.
A JSON Web Token looks like an opaque string of gibberish, but it is just three Base64URL-encoded JSON objects joined by periods. Here is how JWTs actually work, how signatures verify integrity, and the five security traps that compromise production systems.