0.3.0 • Published 5 months ago

@riccox/colorify v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months 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

5 months ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.2

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago