프로젝트
GitHub에서 보기
kgolid/chromotome
소개
개인 용도로 저장해 둔 색상 팔레트 모음입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalChromotome
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:
관련 프로젝트 살펴보기
불러오는 중…