1.0.1 • Published 5 years ago

@silv21/complimentary_color_generator v1.0.1

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

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%)"