@ergofriend/random-pair-colors
TypeScript icon, indicating that this package has built-in type declarations

0.1.14 • Public • Published

@ergofriend/random-pair-colors

npm install @ergofriend/random-pair-colors
import { generateRandomPairColor } from '@ergofriend/random-pair-colors'

const result2 = generateRandomPairColor({ backgroundColor: '#3f2697', threshold: 70 })
console.log(result2.textColor, result2.backgroundColor) // #82fce9, #3f2697

Reference

Components AI — A new way to explore generative design systems

Development

preview

npm -w @ergofriend/random-pair-colors run preview

build

npm -w @ergofriend/random-pair-colors run build  

Package Sidebar

Install

npm i @ergofriend/random-pair-colors

Weekly Downloads

37

Version

0.1.14

License

MIT

Unpacked Size

23.7 kB

Total Files

5

Last publish

Collaborators

  • ergofriend