0.1.1 • Published 3 years ago

triad-colors v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

triad-colors-js

Build Status

It's a npm library of get triad colors.

Install

npm install triad-colors
# or
yarn add triad-colors

Usage

Example of get random colors.

const { getRandomColors } = require('triad-colors');

(async () => {
  console.log(getRandomColors());
})();

Example of specify colors.

const { getColors } = require('triad-colors');

(async () => {
  console.log(getColors('#123123'));
})();

Development

Test

npm run test

Code format

npm run fmt