项目
在 GitHub 查看
kgolid/chromotome
关于
一个为个人使用而保存的配色集合。
其他项目实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Chromotome
A collection of color palettes used in order to easily colorize new creative coding projects. New palettes will be continuously added, and all existing ones are subject to change.
Installation:
npm install -save chromotome
Basic usage:
// Can both use ES6 import and CommonJS require.
import * as tome from 'chromotome';
// Palettes can be acquired randomly...
let palette = tome.get(); // tome.getRandom() also works.
// ...or by name!
palette = tome.get('miradors'); // tome.getNames() gets you a list of all the different palette names.
// A palette consists of an array of colors together with (usually) a stroke color and a background color.
console.log(palette.colors); // --> ['#ff6936', '#fddc3f', '#0075ca', '#00bb70']
console.log(palette.stroke); // --> '#ffffff'
console.log(palette.background); // --> '#020202'
Palette overview:
探索相关项目
加载中…