Vinay Pillai

Vinay Pillai

Web developer exploring network research

Forums

Vinay Pillai

6yr ago

ac-colors - A JS color conversion library for RGB/HSL/HEX/XYZ/LAB/LCH

The HSL color space model is not perceptually accurate, which can lead to problems designing color themes. This JavaScript color library to handle the conversions between RGB, HEX, HSL, XYZ, LAB, or LCH simultaneously. Plus it offers random color generation and contrast ratio calculation.