Skip to content

用于生成10个同色系的颜色,可用于主题色搭配。

Notifications You must be signed in to change notification settings

yft/color-series-10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

color-series-10

生成一个系列10种颜色,可用于主题色搭配选择。

示例

let colorPalette = require('color-series-10/dist/toggle-rgb-hsv.min').colorPalette;
// 或
// let colorPalette = require('color-series-10').colorPalette;
console.log(
    ...colorPalette('#ff0000')
);

结果

#ffccd5 #ffa3af #ff7a88 #ff525d #ff2930 #ff0000 #d90700 #b30c00 #8c0e00 #660e00

About

用于生成10个同色系的颜色,可用于主题色搭配。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published