@silv21/complimentary_color_generator
v1.0.1
Published
complimentary color
Downloads
7
Readme
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/[email protected]/index.js";
complimentaryColor("hsl(56, 10%, 20%)"); // returns "hsl(236,10%,20%)"