💫 See Stars ✨

August 10, 2022 · View on GitHub

version    plain vanilla JS    license   

last commit    downloads    twitter   

💫 See Stars ✨

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

QuickStart

NPM Install: npm i seestars

Usage:

    Lstar = seeStars('#abcdef');

seestars logo