The Color Palette Algorithm Nobody Explains | Decoded from Ant Design Source Code

듀자인 Dewsign on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

AdvancedDesign Systems12 min

About this video

Walks through the formulas Ant Design's open-source code uses to generate a 10-step color palette, including brightness and saturation rates, a curve for light and dark steps, and hue tilting. It is aimed at designers building or maintaining design systems.

What you’ll learn

  • Explain why a 10-step palette places the primary color at step 6
  • Apply light and dark brightness and saturation rates per step
  • Use hue tilting to avoid muddy light and dark tones