A Myndex MicroColor Library. This has standard functions for the standard (piecewise) IEC conversion of sRGB to Y, and the CIE standard Y to L* (Lstar) and back again. The math & constants here reference those of CSS 4 for compatibility.
Use this with Color Parsley and Delta Phi Star
This repo is a luminance-only micro-version of SeeLAB
NPM Install: npm i seestars
Lstar = seeStars('#abcdef');