1 | colr
|
2 | ====
|
3 |
|
4 | Simple color conversion library based on simplicity and stability
|
5 |
|
6 | ## API
|
7 |
|
8 | ### new Colr()
|
9 |
|
10 | ### Colr.fromHex(string)
|
11 |
|
12 | ### Colr.toHex()
|
13 |
|
14 | ### Colr.fromRgb(r, g, b)
|
15 | ### Colr.fromRgbArray([r, g, b])
|
16 | ### Colr.fromRgbObject({r, g, b})
|
17 |
|
18 | ### Colr.toRgbArray()
|
19 | ### Colr.toRgbObject()
|