Just a toy, which can help color designers to generate color plates like ant-design.
Achieved average color、tint-shade color、@antd-v3 color three models
only average cut two colors
like antd v1.0. The main color is mixed with pure white (#fff), and the main color and the pure white are divided into 100 parts, and the positions of 20/40/60/80 are respectively divided to obtain the color of 4/3/2/1; The main color is mixed with pure black (#000), and the main color and the pure black are divided into 100 parts, and the positions of 20/40/60/80 are respectively divided to obtain the color of 6/7/8/9;
Like the current antd, Decrement/increment with the value of the HSV model to get a complete gradient swatch
Just a static resource running locally
run by MakeFile
make installmake devmake test
you also can run by these ways
npm run startnpm run buildnpm run test
MIT
Copyright (c) 2019 @renjie1996 @Shadowless @无影er




