Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/myndex/seestars

See Stars is 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.
https://github.com/myndex/seestars

apca cie cielab cieluv color colour lstar microcolor srgb

Last synced: 20 days ago
JSON representation

See Stars is 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.

Awesome Lists containing this project

README

        


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](https://github.com/Myndex/colorparsley) and [Delta Phi Star](https://github.com/Myndex/deltaphistar)

This repo is a luminance-only micro-version of SeeLAB

## QuickStart

_NPM Install:_ ` npm i seestars `

### *Usage:*

```js
Lstar = seeStars('#abcdef');
````

![seestars logo](https://user-images.githubusercontent.com/42009457/183821818-e04264f7-2bae-4a59-aa6a-f5372b52560f.png)