Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/myndex/seestars
- Owner: Myndex
- License: agpl-3.0
- Created: 2022-08-09T20:01:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-10T05:34:08.000Z (over 2 years ago)
- Last Synced: 2024-08-08T16:50:33.191Z (5 months ago)
- Topics: apca, cie, cielab, cieluv, color, colour, lstar, microcolor, srgb
- Language: JavaScript
- Homepage:
- Size: 24.4 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 💫 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)