jxnblk / Hello Color
Stars: ✭ 217
Programming Languages
javascript
184084 projects - #8 most used programming language
hello-color
Functional color palette generator
npm i hello-color
import hello from 'hello-color'
const result = hello('#0fc')
// Returns an object with negated and adjusted color
// that meets a minimum contrast
// {
// base: '#00ffcc',
// color: '#f6002d',
// contrast: 3.2636058745832304,
// dark: false
// }
MIT License
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].