dicom-microscopy-viewer-changed
Version:
Interactive web-based viewer for DICOM Microscopy Images
36 lines (21 loc) • 935 B
Markdown
# MooColor
[](https://github.com/archco/moo-color/actions/workflows/node.js.yml)
[](https://www.npmjs.com/package/moo-color)
[](https://www.npmjs.com/package/moo-color)
A javascript class that provides convenience for color parsing and manipulating.
## Install
``` sh
npm install moo-color
```
## Usage
``` js
import MooColor from 'moo-color';
const color = new MooColor('#f00');
color.whiten(10).toString('hwb'); // returns 'hwb(0, 10%, 0)'
```
## API
Please see [MooColor API](https://github.com/archco/moo-color/tree/master/docs#moocolor-api).
## Change Log
[CHANGELOG.md](https://github.com/archco/moo-color/blob/master/CHANGELOG.md)
## license
[MIT License](https://github.com/archco/moo-color/blob/master/LICENSE)