Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bahamas10/node-ryb2rgb

Convert colors in JavaScript from ryb to rgb
https://github.com/bahamas10/node-ryb2rgb

Last synced: about 2 months ago
JSON representation

Convert colors in JavaScript from ryb to rgb

Awesome Lists containing this project

README

        

ryb2rgb
=======

Convert colors in JavaScript from ryb to rgb

Example
-------

### ryb2rgb

``` js
var ryb2rgb = require('ryb2rgb');
console.log(ryb2rgb([0, 255, 0]));
```

yields

``` js
[255, 255, 0]
```

Usage
-----

``` js
var ryb2rgb = require('ryb2rgb');
```

or

``` html

// defines ryb2rgb()
```

Installation
------------

npm install ryb2rgb

Credits
-------

Original code https://www.paintassistant.com/rybrgb.html

Made generic for the web and Node.js

License
-------

MIT