0.3.0 • Published 2 years ago

@riccox/colorify v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@riccox/colorify

GitHub Workflow Status release stars issues last-commit license

A type-safe, simple color tool javascript util lib

IMPORTANT The main branch may be unstable or unavailable during development.

Please use release instead of main branch to obtain a stable version app

Demo

There is a live usage demo 👉 colorify, deploy on Codesandbox.

Usage

npm i @riccox/colorify --save
import { singleColorPalette, foregroundColor } from '@riccox/colorify';

// returns a new hex color string array by given primary color.
console.log(singleColorPalette('#0f0',12))

// return a new hex color string (#000 or #FFF) by given background color.
console.log(foregroundColor('#0f0'))

Development

git clone git@github.com:riccox/colorify-js.git

cd colorify-js

pnpm install
0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.2

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago