@silv21/complimentary_color_generator

1.0.1 • Public • Published

Complimentary color generator

A function that returns the complimentary color from a color passed in as an argument.

Only works with hsl (or hsla) colors.

Usage:

import complimentaryColor from "https://unpkg.com/@silv21/complimentary_color_generator@1.0.1/index.js";


complimentaryColor("hsl(56, 10%, 20%)"); // returns "hsl(236,10%,20%)"

Readme

Keywords

Package Sidebar

Install

npm i @silv21/complimentary_color_generator

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

1.75 kB

Total Files

3

Last publish

Collaborators

  • silv21