{"_id":"onecolor","_rev":"3333359","name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","dist-tags":{"latest":"4.1.0"},"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"time":{"modified":"2024-07-10T07:34:33.000Z","created":"2011-10-26T09:39:19.912Z","4.1.0":"2023-11-29T22:47:07.067Z","4.0.0":"2022-11-29T10:37:26.396Z","3.1.0":"2018-09-14T12:02:35.543Z","3.0.5":"2017-11-21T18:33:36.783Z","3.0.4":"2016-05-30T13:17:23.713Z","3.0.3":"2016-05-17T08:30:34.783Z","3.0.2":"2016-05-15T23:15:17.697Z","3.0.1":"2016-04-01T14:46:31.988Z","3.0.0":"2016-03-15T00:05:48.952Z","2.5.0":"2015-01-15T14:47:32.505Z","2.4.2":"2014-08-03T19:31:07.146Z","2.4.1":"2014-07-14T23:15:07.115Z","2.4.0":"2014-02-22T15:49:43.574Z","2.3.4":"2013-03-17T00:55:26.642Z","2.3.3":"2013-01-28T14:11:36.044Z","2.3.2":"2013-01-16T11:31:50.692Z","2.3.1":"2012-11-22T00:37:13.561Z","2.3.0":"2012-09-10T09:21:55.399Z","2.2.9":"2012-09-06T15:37:44.635Z","2.2.8":"2012-09-03T17:42:28.077Z","2.2.7":"2012-07-10T14:15:22.534Z","2.2.6":"2012-07-08T10:10:12.107Z","2.2.5":"2012-07-06T11:18:30.095Z","2.2.4":"2012-06-20T14:13:20.460Z","2.2.3":"2012-03-04T11:16:22.361Z","2.2.2":"2012-02-29T10:38:44.335Z","2.2.1":"2012-02-28T18:20:58.652Z","2.2.0":"2012-02-28T11:13:35.154Z","2.1.0":"2012-02-28T09:42:49.321Z","2.0.7":"2012-01-23T20:59:58.502Z","2.0.6":"2012-01-14T00:22:02.175Z","2.0.5":"2012-01-14T00:00:12.459Z","2.0.4":"2011-12-29T15:00:10.929Z","2.0.3":"2011-12-28T14:25:45.462Z","2.0.2":"2011-12-28T14:01:25.352Z","2.0.1":"2011-10-26T09:39:19.912Z"},"users":{},"repository":{"type":"git","url":"git+ssh://git@github.com/One-com/one-color.git"},"versions":{"4.1.0":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git+ssh://git@github.com/One-com/one-color.git"},"version":"4.1.0","license":"BSD-2-Clause","keywords":["color","colour","conversion","rgb","hsv","hsl","cmyk"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"@rollup/plugin-commonjs":"^14.0.0","coveralls":"2.11.9","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.22.0","eslint-plugin-mocha":"^7.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","evaldown":"^1.2.2","istanbul":"0.4.2","mocha":"2.4.5","mocha-lcov-reporter":"1.2.0","onecolor":"file:./","prettier":"~2.8.0","rollup":"^2.21.0","rollup-plugin-terser":"^6.1.0","unexpected":"10.11.1"},"engines":{"node":">=0.4.8"},"scripts":{"one-color-all":"rollup -c rollup.config.js index.js -o one-color-all.js","one-color":"rollup -c rollup.config.js minimal.js -o one-color.js","build":"npm run one-color && npm run one-color-all","preversion":"npm run lint && npm run build && TEST_BUNDLES=true npm test && bash -c 'git add one-color{-all,}.js{,.map}'","lint":"eslint . && prettier --check '**/*.{js,md}'","test":"npm run lint && mocha","test:documentation":"evaldown --validate --capture=console ./README.md","coverage":"istanbul cover _mocha -- --reporter dot","ci:test":"TEST_BUNDLES=true npm run coverage"},"jspm":{"dependencies":{},"main":"one-color-all.js","jspmPackage":true},"gitHead":"fa36a832c597f94247e68797f9ef15016f9cb43c","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color#readme","_id":"onecolor@4.1.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"shasum":"289da70189ba6afd389d9eeccea80623d879333a","size":34723,"noattachment":false,"key":"/onecolor/-/onecolor-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-4.1.0.tgz"},"_npmUser":{"name":"papandreou","email":"andreaslindpetersen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/onecolor_4.1.0_1701298026916_0.02615493638536548"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-29T22:47:07.067Z","publish_time":1701298027067,"_source_registry_name":"default","_cnpm_publish_time":1701298027067},"4.0.0":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git+ssh://git@github.com/One-com/one-color.git"},"version":"4.0.0","license":"BSD-2-Clause","keywords":["color","colour","conversion","rgb","hsv","hsl","cmyk"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"@rollup/plugin-commonjs":"^14.0.0","coveralls":"2.11.9","eslint":"^7.4.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.22.0","eslint-plugin-mocha":"^7.0.1","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","evaldown":"^1.2.2","istanbul":"0.4.2","mocha":"2.4.5","mocha-lcov-reporter":"1.2.0","onecolor":"file:./","prettier":"~2.8.0","rollup":"^2.21.0","rollup-plugin-terser":"^6.1.0","unexpected":"10.11.1"},"engines":{"node":">=0.4.8"},"scripts":{"one-color-all":"rollup -c rollup.config.js index.js -o one-color-all.js","one-color":"rollup -c rollup.config.js minimal.js -o one-color.js","build":"npm run one-color && npm run one-color-all","preversion":"npm run lint && npm run build && TEST_BUNDLES=true npm test && bash -c 'git add one-color{-all,}.js{,.map}'","lint":"eslint . && prettier --check '**/*.{js,md}'","test":"npm run lint && mocha","test:documentation":"evaldown --validate --capture=console ./README.md","coverage":"istanbul cover _mocha -- --reporter dot","ci:test":"TEST_BUNDLES=true npm run coverage"},"jspm":{"dependencies":{},"main":"one-color-all.js","jspmPackage":true},"gitHead":"dbfe12f62999fdb52530350506e91ab5f98275c9","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color#readme","_id":"onecolor@4.0.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"shasum":"bbbfdd77e2d8296764076717d7db5f1f76c79eac","size":34897,"noattachment":false,"key":"/onecolor/-/onecolor-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-4.0.0.tgz"},"_npmUser":{"name":"papandreou","email":"andreaslindpetersen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/onecolor_4.0.0_1669718246177_0.365573393839669"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-29T10:42:20.615Z","publish_time":1669718246396,"_cnpm_publish_time":1669718246396},"3.1.0":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git+ssh://git@github.com/One-com/one-color.git"},"version":"3.1.0","license":"BSD-2-Clause","keywords":["color","colour","conversion","rgb","hsv","hsl","cmyk"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"coveralls":"2.11.9","istanbul":"0.4.2","jshint":"^2.9.1","mocha":"2.4.5","mocha-lcov-reporter":"1.2.0","rollup":"0.41.6","rollup-plugin-commonjs":"8.0.2","uglify-js":"2.8.21","unexpected":"10.11.1"},"engines":{"node":">=0.4.8"},"scripts":{"one-color-all":"rollup -c rollup.config.js index.js && uglifyjs --compress --mangle --in-source-map OUT.js.map --source-map one-color-all.map OUT.js > one-color-all.js; rm OUT.*","one-color":"rollup -c rollup.config.js minimal.js && uglifyjs --compress --mangle --in-source-map OUT.js.map --source-map one-color.map OUT.js > one-color.js; rm OUT.*","build":"npm run one-color && npm run one-color-all","preversion":"npm run lint && npm run build && TEST_BUNDLES=true npm test && bash -c 'git add one-color{-all,}.{js,map}'","lint":"jshint .","test":"npm run lint && mocha","coverage":"istanbul cover _mocha -- --reporter dot","travis":"npm run lint && npm run build && TEST_BUNDLES=true npm run coverage"},"jspm":{"dependencies":{},"main":"one-color-all.js","jspmPackage":true},"gitHead":"a5fb8958e88775deab8b636a902fb5e269e8abb7","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color#readme","_id":"onecolor@3.1.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"papandreou","email":"andreaslindpetersen@gmail.com"},"dist":{"shasum":"b72522270a49569ac20d244b3cd40fe157fda4d2","size":36641,"noattachment":false,"key":"/onecolor/-/onecolor-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-3.1.0.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/onecolor_3.1.0_1536926555419_0.20035403271591523"},"_hasShrinkwrap":false,"publish_time":1536926555543,"_cnpm_publish_time":1536926555543},"3.0.5":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git+ssh://git@github.com/One-com/one-color.git"},"version":"3.0.5","license":"BSD-2-Clause","keywords":["color","colour","conversion","rgb","hsv","hsl","cmyk"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"coveralls":"2.11.9","istanbul":"0.4.2","jshint":"^2.9.1","mocha":"2.4.5","mocha-lcov-reporter":"1.2.0","rollup":"0.41.6","rollup-plugin-commonjs":"8.0.2","uglify-js":"2.8.21","unexpected":"10.11.1"},"engines":{"node":">=0.4.8"},"files":["one-color.js","one-color.map","one-color-all.js","one-color-all.map","index.js","minimal.js","lib"],"scripts":{"one-color-all":"rollup -c rollup.config.js index.js && uglifyjs --compress --mangle --in-source-map OUT.js.map --source-map one-color-all.map OUT.js > one-color-all.js; rm OUT.*","one-color":"rollup -c rollup.config.js minimal.js && uglifyjs --compress --mangle --in-source-map OUT.js.map --source-map one-color.map OUT.js > one-color.js; rm OUT.*","build":"npm run one-color && npm run one-color-all","preversion":"npm run lint && npm run build && TEST_BUNDLES=true npm test && bash -c 'git add one-color{-all,}.{js,map}'","lint":"jshint .","test":"npm run lint && mocha","coverage":"istanbul cover _mocha -- --reporter dot","travis":"npm run lint && npm run build && TEST_BUNDLES=true npm run coverage"},"jspm":{"dependencies":{},"main":"one-color-all.js","jspmPackage":true},"gitHead":"92bbe2c9ca0f59ecae14fa631cac07ae9f7ebde5","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color#readme","_id":"onecolor@3.0.5","_shasum":"36eff32201379efdf1180fb445e51a8e2425f9f6","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"munter","email":"munter@fumle.dk"},"dist":{"shasum":"36eff32201379efdf1180fb445e51a8e2425f9f6","size":36142,"noattachment":false,"key":"/onecolor/-/onecolor-3.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-3.0.5.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/onecolor-3.0.5.tgz_1511289215646_0.24836960225366056"},"directories":{},"publish_time":1511289216783,"_cnpm_publish_time":1511289216783,"_hasShrinkwrap":false},"3.0.4":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git+ssh://git@github.com/One-com/one-color.git"},"version":"3.0.4","license":"BSD-2-Clause","keywords":["color","colour","conversion","rgb","hsv","hsl","cmyk"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"browserify":"13.0.0","bundle-collapser":"1.2.1","coveralls":"2.11.9","istanbul":"0.4.2","jshint":"^2.9.1","minifyify":"7.3.2","mocha":"2.4.5","mocha-lcov-reporter":"1.2.0","unexpected":"10.11.1"},"engines":{"node":">=0.4.8"},"files":["one-color.js","one-color.map","one-color-all.js","one-color-all.map","index.js","minimal.js","lib"],"publishConfig":{"registry":"http://registry.npmjs.org/"},"scripts":{"build":"browserify -p bundle-collapser/plugin -p [ minifyify --map one-color-all.map --output one-color-all.map ] --debug -e index -s one.color > one-color-all.js && browserify -p bundle-collapser/plugin -p [ minifyify --map one-color.map --output one-color.map ] --debug -e minimal -s one.color > one-color.js","preversion":"npm run lint && npm run build && npm test && bash -c 'git add one-color{-all,}.{js,map}'","lint":"jshint .","test":"npm run lint && mocha","coverage":"istanbul cover _mocha -- --reporter dot","travis":"npm run lint && npm run build && npm run coverage"},"jspm":{"dependencies":{},"main":"one-color-all.js","jspmPackage":true},"gitHead":"4a29ef5c57ff11064d4e15c0940929da11d34a43","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color#readme","_id":"onecolor@3.0.4","_shasum":"75a46f80da6c7aaa5b4daae17a47198bd9652494","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"dist":{"shasum":"75a46f80da6c7aaa5b4daae17a47198bd9652494","size":31801,"noattachment":false,"key":"/onecolor/-/onecolor-3.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-3.0.4.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/onecolor-3.0.4.tgz_1464614241696_0.5164547513704747"},"directories":{},"publish_time":1464614243713,"_cnpm_publish_time":1464614243713,"_hasShrinkwrap":false},"3.0.3":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git+ssh://git@github.com/One-com/one-color.git"},"version":"3.0.3","license":"BSD-2-Clause","keywords":["color","colour","conversion","rgb","hsv","hsl","cmyk"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"browserify":"13.0.0","bundle-collapser":"1.2.1","coveralls":"2.11.9","istanbul":"0.4.2","jshint":"^2.9.1","minifyify":"7.3.2","mocha":"2.4.5","mocha-lcov-reporter":"1.2.0","unexpected":"10.11.1"},"engines":{"node":">=0.4.8"},"files":["one-color.js","one-color.map","one-color-all.js","one-color-all.map","index.js","minimal.js","lib"],"publishConfig":{"registry":"http://registry.npmjs.org/"},"scripts":{"build":"browserify -p bundle-collapser/plugin -p [ minifyify --map one-color-all.map --output one-color-all.map ] --debug -e index -s one.color > one-color-all.js && browserify -p bundle-collapser/plugin -p [ minifyify --map one-color.map --output one-color.map ] --debug -e minimal -s one.color > one-color.js","preversion":"npm run lint && npm run build && npm test && bash -c 'git add one-color{-all,}.{js,map}'","lint":"jshint .","test":"npm run lint && mocha","coverage":"istanbul cover _mocha -- --reporter dot","travis":"npm run lint && npm run build && npm run coverage"},"jspm":{"dependencies":{},"main":"one-color-all.js","jspmPackage":true},"gitHead":"7beaca591326df380953a2c2cf960ecac7769976","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color#readme","_id":"onecolor@3.0.3","_shasum":"dd67d3d077bcbd127beb05e3e2a4fdcc776f77c8","_from":".","_npmVersion":"2.15.1","_nodeVersion":"0.10.45","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"dist":{"shasum":"dd67d3d077bcbd127beb05e3e2a4fdcc776f77c8","size":35575,"noattachment":false,"key":"/onecolor/-/onecolor-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-3.0.3.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/onecolor-3.0.3.tgz_1463473832496_0.7167896013706923"},"directories":{},"publish_time":1463473834783,"_cnpm_publish_time":1463473834783,"_hasShrinkwrap":false},"3.0.2":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git+ssh://git@github.com/One-com/one-color.git"},"version":"3.0.2","keywords":["color","colour","conversion","rgb","hsv","hsl","cmyk"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"browserify":"13.0.0","bundle-collapser":"1.2.1","coveralls":"2.11.9","istanbul":"0.4.2","jshint":"^2.9.1","minifyify":"7.3.2","mocha":"2.4.5","mocha-lcov-reporter":"1.2.0","unexpected":"10.11.1"},"engines":{"node":">=0.4.8"},"files":["one-color.js","one-color.map","one-color-all.js","one-color-all.map","index.js","minimal.js","lib"],"publishConfig":{"registry":"http://registry.npmjs.org/"},"scripts":{"build":"browserify -p bundle-collapser/plugin -p [ minifyify --map one-color-all.map --output one-color-all.map ] --debug -e index -s one.color > one-color-all.js && browserify -p bundle-collapser/plugin -p [ minifyify --map one-color.map --output one-color.map ] --debug -e minimal -s one.color > one-color.js","preversion":"npm run lint && npm run build && npm test && bash -c 'git add one-color{-all,}.{js,map}'","lint":"jshint .","test":"npm run lint && mocha","coverage":"istanbul cover _mocha -- --reporter dot","travis":"npm run lint && npm run build && npm run coverage"},"jspm":{"dependencies":{},"main":"one-color-all.js","jspmPackage":true},"gitHead":"0d403611f3875fa307b4323ba5a2014cfd5a7708","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color#readme","_id":"onecolor@3.0.2","_shasum":"f6dbaf2393da2681400876c86292bdcbabcecd07","_from":".","_npmVersion":"2.15.2","_nodeVersion":"0.10.43","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"dist":{"shasum":"f6dbaf2393da2681400876c86292bdcbabcecd07","size":35486,"noattachment":false,"key":"/onecolor/-/onecolor-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-3.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/onecolor-3.0.2.tgz_1463354115145_0.833258593454957"},"directories":{},"publish_time":1463354117697,"_cnpm_publish_time":1463354117697,"_hasShrinkwrap":false},"3.0.1":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git+ssh://git@github.com/One-com/one-color.git"},"version":"3.0.1","keywords":["color","colour","conversion","rgb","hsv","hsl","cmyk"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"browserify":"13.0.0","bundle-collapser":"1.2.1","coveralls":"2.11.8","exorcist":"0.4.0","istanbul":"0.4.2","mocha":"2.4.5","mocha-lcov-reporter":"1.2.0","uglifyify":"3.0.1","unexpected":"10.10.8"},"engines":{"node":">=0.4.8"},"files":["one-color.js","one-color.map","one-color-all.js","one-color-all.map","index.js","minimal.js","lib"],"publishConfig":{"registry":"http://registry.npmjs.org/"},"scripts":{"build":"browserify -p bundle-collapser/plugin -t uglifyify --debug -e index -s one.color | exorcist one-color-all.map > one-color-all.js && browserify -p bundle-collapser/plugin -t uglifyify --debug -e minimal -s one.color | exorcist one-color.map > one-color.js","preversion":"npm run build && npm test","test":"mocha","coverage":"istanbul cover _mocha -- --reporter dot","travis":"npm run build && npm run coverage"},"jspm":{"dependencies":{},"main":"one-color-all.js","jspmPackage":true},"gitHead":"78368f0407fcee0ee3d64979454173f931a96719","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color#readme","_id":"onecolor@3.0.1","_shasum":"99821153b8e78257c822874d3baa1ffd5826e3f9","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"munter","email":"munter@fumle.dk"},"dist":{"shasum":"99821153b8e78257c822874d3baa1ffd5826e3f9","size":30409,"noattachment":false,"key":"/onecolor/-/onecolor-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-3.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/onecolor-3.0.1.tgz_1459521989425_0.8229274218901992"},"directories":{},"publish_time":1459521991988,"_cnpm_publish_time":1459521991988,"_hasShrinkwrap":false},"3.0.0":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git+ssh://git@github.com/One-com/one-color.git"},"version":"3.0.0","keywords":["color","colour","conversion","rgb","hsv","hsl","cmyk"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"browserify":"13.0.0","bundle-collapser":"1.2.1","coveralls":"2.11.8","exorcist":"0.4.0","istanbul":"0.4.2","mocha":"2.4.5","mocha-lcov-reporter":"1.2.0","uglifyify":"3.0.1","unexpected":"10.10.8"},"engines":{"node":">=0.4.8"},"files":["one-color.js","one-color.map","one-color-all.js","one-color-all.map","index.js","minimal.js","lib"],"publishConfig":{"registry":"http://registry.npmjs.org/"},"scripts":{"build":"browserify -p bundle-collapser/plugin -t uglifyify --debug -e index -s one.color | exorcist one-color-all.map > one-color-all.js && browserify -p bundle-collapser/plugin -t uglifyify --debug -e minimal -s one.color | exorcist one-color.map > one-color.js","preversion":"npm run build && npm test","test":"mocha","coverage":"istanbul cover _mocha -- --reporter dot","travis":"npm run build && npm run coverage"},"jspm":{"dependencies":{},"main":"one-color-all.js","jspmPackage":true},"gitHead":"373abb9e498165f160073df9b1a0eeb72921db82","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color#readme","_id":"onecolor@3.0.0","_shasum":"68b0b8d6fb7a6f7f9983a0fc31b4d222af8c0350","_from":".","_npmVersion":"2.14.8","_nodeVersion":"0.10.40","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"dist":{"shasum":"68b0b8d6fb7a6f7f9983a0fc31b4d222af8c0350","size":30486,"noattachment":false,"key":"/onecolor/-/onecolor-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-3.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/onecolor-3.0.0.tgz_1458000346433_0.7024686674121767"},"directories":{},"publish_time":1458000348952,"_cnpm_publish_time":1458000348952,"_hasShrinkwrap":false},"2.5.0":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.5.0","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=1.0.1","assetgraph-builder":"=1.0.3","jamjs":"=0.2.17","optimist":"=0.3.1","uglify-js":"=2.4.15","vows":"=0.7.0"},"engines":{"node":">=0.4.8"},"files":["one-color-all-debug.js","one-color-all.js","one-color-debug.js","one-color.js","one-color-ieshim.js"],"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"postpublish":"jam publish","test":"vows"},"jam":{"main":"one-color-all.js","include":["one-color.js","one-color-all.js","one-color-ieshim.js","README.md","LICENSE"]},"gitHead":"8d09dfeee4e17cb2aff7752cf4d66bcb6a2658d5","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color","_id":"onecolor@2.5.0","_shasum":"2256b651dc807c101f00aedbd49925c57a4431c1","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"munter","email":"munter@fumle.dk"},"dist":{"shasum":"2256b651dc807c101f00aedbd49925c57a4431c1","size":18001,"noattachment":false,"key":"/onecolor/-/onecolor-2.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.5.0.tgz"},"directories":{},"publish_time":1421333252505,"_cnpm_publish_time":1421333252505,"_hasShrinkwrap":false},"2.4.2":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.4.2","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=1.0.1","assetgraph-builder":"=1.0.3","optimist":"=0.3.1","uglify-js":"=2.4.15","vows":"=0.7.0"},"engines":{"node":">=0.4.8"},"files":["one-color-all-debug.js","one-color-all.js","one-color-debug.js","one-color.js","one-color-ieshim.js"],"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"postpublish":"jam publish","test":"vows"},"jam":{"main":"one-color-all.js","include":["one-color.js","one-color-all.js","one-color-ieshim.js","README.md","LICENSE"]},"gitHead":"e73054ef8ab93c92017b818ce90498c8e87f7409","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color","_id":"onecolor@2.4.2","_shasum":"a53ec3ff171c3446016dd5210d1a1b544bf7d874","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"munter","email":"munter@fumle.dk"},"dist":{"shasum":"a53ec3ff171c3446016dd5210d1a1b544bf7d874","size":17590,"noattachment":false,"key":"/onecolor/-/onecolor-2.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.4.2.tgz"},"directories":{},"publish_time":1407094267146,"_cnpm_publish_time":1407094267146,"_hasShrinkwrap":false},"2.4.1":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.4.1","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=1.0.1","assetgraph-builder":"=1.0.3","optimist":"=0.3.1","vows":"=0.7.0"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"postpublish":"jam publish"},"jam":{"main":"one-color-all.js","include":["one-color.js","one-color-all.js","one-color-ieshim.js","README.md","LICENSE"]},"gitHead":"8bc15d1fbb8c2730bf1290b946bc06eed6107660","bugs":{"url":"https://github.com/One-com/one-color/issues"},"homepage":"https://github.com/One-com/one-color","_id":"onecolor@2.4.1","_shasum":"d55fa9d78c523ad6efafc1b88fc1cc3ac4248313","_from":".","_npmVersion":"1.4.15","_npmUser":{"name":"munter","email":"munter@fumle.dk"},"dist":{"shasum":"d55fa9d78c523ad6efafc1b88fc1cc3ac4248313","size":2091735,"noattachment":false,"key":"/onecolor/-/onecolor-2.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.4.1.tgz"},"publish_time":1405379707115,"_cnpm_publish_time":1405379707115,"_hasShrinkwrap":false},"2.4.0":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.4.0","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=1.0.1","assetgraph-builder":"=1.0.3","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"postpublish":"jam publish"},"jam":{"main":"one-color-all.js","include":["one-color.js","one-color-all.js","one-color-ieshim.js","README.md","LICENSE"]},"bugs":{"url":"https://github.com/One-com/one-color/issues"},"_id":"onecolor@2.4.0","dist":{"shasum":"1197dd766d3fa5f2108914bbbedd1d0b16eb861a","size":2088432,"noattachment":false,"key":"/onecolor/-/onecolor-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.4.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"munter","email":"munter@fumle.dk"},"publish_time":1393084183574,"_cnpm_publish_time":1393084183574,"_hasShrinkwrap":false},"2.3.4":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.3.4","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=1.0.1","assetgraph-builder":"=1.0.3","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"postpublish":"jam publish"},"jam":{"main":"one-color-all.js","include":["one-color.js","one-color-all.js","one-color-ieshim.js","README.md","LICENSE"]},"_id":"onecolor@2.3.4","dist":{"shasum":"f5f91703612383300586e6af49d8d7db54a54eef","size":2093505,"noattachment":false,"key":"/onecolor/-/onecolor-2.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.3.4.tgz"},"_npmVersion":"1.1.61","_npmUser":{"name":"munter","email":"munter@fumle.dk"},"publish_time":1363481726642,"_cnpm_publish_time":1363481726642,"_hasShrinkwrap":false},"2.3.3":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.3.3","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=1.0.1","assetgraph-builder":"=1.0.3","optimist":"=0.3.1","vows":"=0.6.1","jamjs":"*"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"postpublish":"./node_modules/.bin/jam publish"},"jam":{"main":"one-color-all.js","include":["one-color.js","one-color-all.js","one-color-ieshim.js","README.md","LICENSE"]},"_id":"onecolor@2.3.3","dist":{"shasum":"b5ff944bfd4d3039a8f97b5b357472ddffb717f8","size":1929945,"noattachment":false,"key":"/onecolor/-/onecolor-2.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.3.3.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"publish_time":1359382296044,"_cnpm_publish_time":1359382296044,"_hasShrinkwrap":false},"2.3.2":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.3.2","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=1.0.1","assetgraph-builder":"=1.0.3","optimist":"=0.3.1","vows":"=0.6.1","jamjs":"*"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"postpublish":"./node_modules/.bin/jam publish"},"jam":{"main":"one-color-all.js","include":["one-color.js","one-color-all.js","one-color-ieshim.js","README.md","LICENSE"]},"readmeFilename":"README.md","_id":"onecolor@2.3.2","dist":{"shasum":"892931ec16b1205ad7a8cbd9f2208028e2457456","size":1928504,"noattachment":false,"key":"/onecolor/-/onecolor-2.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.3.2.tgz"},"_npmVersion":"1.2.0","_npmUser":{"name":"munter","email":"munter@fumle.dk"},"publish_time":1358335910692,"_cnpm_publish_time":1358335910692,"_hasShrinkwrap":false},"2.3.1":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.3.1","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=1.0.1","assetgraph-builder":"=1.0.3","optimist":"=0.3.1","vows":"=0.6.1","jamjs":"*"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"test":"vows","prepublish":"npm test","postpublish":"jam publish"},"jam":{"main":"one-color-all.js","include":["one-color.js","one-color-all.js","one-color-ieshim.js","README.md","LICENSE"]},"_id":"onecolor@2.3.1","dist":{"shasum":"0f9e891a73b9bebd3f80c712fb962056a353184d","size":2091221,"noattachment":false,"key":"/onecolor/-/onecolor-2.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.3.1.tgz"},"_npmVersion":"1.1.61","_npmUser":{"name":"munter","email":"munter@fumle.dk"},"publish_time":1353544633561,"_cnpm_publish_time":1353544633561,"_hasShrinkwrap":false},"2.3.0":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.3.0","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=0.4.59","assetgraph-builder":"=0.4.3","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"pretest":"npm install && make clean && make","test":"vows","prepublish":"npm test"},"_id":"onecolor@2.3.0","dist":{"shasum":"cc8dab3dfd1aeaede79030b8de417fe5cfcb8058","size":1927610,"noattachment":false,"key":"/onecolor/-/onecolor-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.3.0.tgz"},"publish_time":1347268915399,"_cnpm_publish_time":1347268915399,"_hasShrinkwrap":false},"2.2.9":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.2.9","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=0.4.38","assetgraph-builder":"=0.3.49","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"pretest":"npm install && make clean && make","test":"vows","prepublish":"npm test"},"_id":"onecolor@2.2.9","dist":{"shasum":"9965fab67efb1245c8dca9118741d54eff77de1c","size":1927617,"noattachment":false,"key":"/onecolor/-/onecolor-2.2.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.2.9.tgz"},"publish_time":1346945864635,"_cnpm_publish_time":1346945864635,"_hasShrinkwrap":false},"2.2.8":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.2.8","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=0.4.38","assetgraph-builder":"=0.3.49","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"pretest":"npm install && make clean && make","test":"vows","prepublish":"npm test"},"_id":"onecolor@2.2.8","dist":{"shasum":"67faefd470e9233b5b0d88eb4e4e1e8e8dbf9f8c","size":1926265,"noattachment":false,"key":"/onecolor/-/onecolor-2.2.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.2.8.tgz"},"publish_time":1346694148077,"_cnpm_publish_time":1346694148077,"_hasShrinkwrap":false},"2.2.7":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.2.7","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=0.4.38","assetgraph-builder":"=0.3.49","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"pretest":"npm install && make clean && make","test":"vows","prepublish":"npm test"},"_npmUser":{"name":"munter","email":"munter@fumle.dk"},"_id":"onecolor@2.2.7","dependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.6.15-pre","_defaultsLoaded":true,"dist":{"shasum":"875cb623eda26bfeefe289c8b38504de885814e6","size":2085973,"noattachment":false,"key":"/onecolor/-/onecolor-2.2.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.2.7.tgz"},"publish_time":1341929722534,"_cnpm_publish_time":1341929722534,"_hasShrinkwrap":false},"2.2.6":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.2.6","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=0.4.38","assetgraph-builder":"=0.3.49","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"pretest":"npm install && make clean && make","test":"vows","prepublish":"npm test"},"_npmUser":{"name":"munter","email":"munter@fumle.dk"},"_id":"onecolor@2.2.6","dependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.20-pre","_defaultsLoaded":true,"dist":{"shasum":"fbccf0851d9653cf2fd67039c60fc8fef430f31a","size":2086323,"noattachment":false,"key":"/onecolor/-/onecolor-2.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.2.6.tgz"},"publish_time":1341742212107,"_cnpm_publish_time":1341742212107,"_hasShrinkwrap":false},"2.2.5":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.2.5","keywords":["ender","color","colour","requirejs","amd"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=0.4.38","assetgraph-builder":"=0.3.49","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"pretest":"npm install && make clean && make","test":"vows","prepublish":"npm test"},"_npmUser":{"name":"munter","email":"munter@fumle.dk"},"_id":"onecolor@2.2.5","dependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.6.15-pre","_defaultsLoaded":true,"dist":{"shasum":"83a7980bab61b44434d1ca74729d2d6f7bf6abef","size":2089066,"noattachment":false,"key":"/onecolor/-/onecolor-2.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.2.5.tgz"},"publish_time":1341573510095,"_cnpm_publish_time":1341573510095,"_hasShrinkwrap":false},"2.2.4":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.2.4","keywords":["ender","color","colour"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=0.4.4","assetgraph-builder":"=0.3.3","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"prepublish":"make clean && make && vows"},"_npmUser":{"name":"munter","email":"munter@fumle.dk"},"_id":"onecolor@2.2.4","dependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.6.15-pre","_defaultsLoaded":true,"dist":{"shasum":"81fd4d7f8f4e0f770dc536bdf9dbfefca112d346","size":1929001,"noattachment":false,"key":"/onecolor/-/onecolor-2.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.2.4.tgz"},"publish_time":1340201600460,"_cnpm_publish_time":1340201600460,"_hasShrinkwrap":false},"2.2.3":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.2.3","keywords":["ender","color","colour"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=0.4.2","assetgraph-builder":"=0.3.3","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"prepublish":"make clean && make && vows"},"_npmUser":{"name":"munter","email":"munter@fumle.dk"},"_id":"onecolor@2.2.3","dependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.6-pre","_defaultsLoaded":true,"dist":{"shasum":"285430c2be37ea9890c2031e7d48ffd81197a8ca","size":2086076,"noattachment":false,"key":"/onecolor/-/onecolor-2.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.2.3.tgz"},"publish_time":1330859782361,"_cnpm_publish_time":1330859782361,"_hasShrinkwrap":false},"2.2.2":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.2.2","keywords":["ender","color","colour"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=0.4.2","assetgraph-builder":"=0.3.3","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"prepublish":"make && vows"},"_npmUser":{"name":"munter","email":"munter@fumle.dk"},"_id":"onecolor@2.2.2","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.11-pre","_defaultsLoaded":true,"dist":{"shasum":"72820dae09f4e9d2b719b24977f36ef8cc014e5a","size":2091280,"noattachment":false,"key":"/onecolor/-/onecolor-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.2.2.tgz"},"publish_time":1330511924335,"_cnpm_publish_time":1330511924335,"_hasShrinkwrap":false},"2.2.1":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.2.1","keywords":["ender","color","colour"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph":"=0.4.2","assetgraph-builder":"=0.3.3","optimist":"=0.3.1","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"prepublish":"make && vows"},"_npmUser":{"name":"munter","email":"munter@fumle.dk"},"_id":"onecolor@2.2.1","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.11-pre","_defaultsLoaded":true,"dist":{"shasum":"e84f7bfefeacca528910fd85379e2a562ae2e9c7","size":2091250,"noattachment":false,"key":"/onecolor/-/onecolor-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.2.1.tgz"},"publish_time":1330453258652,"_cnpm_publish_time":1330453258652,"_hasShrinkwrap":false},"2.2.0":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.2.0","keywords":["ender","color","colour"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph-builder":"= 0.2.36","uglify-js":">=1.2.0","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"prepublish":"make && vows"},"_npmUser":{"name":"munter","email":"munter@fumle.dk"},"_id":"onecolor@2.2.0","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.11-pre","_defaultsLoaded":true,"dist":{"shasum":"aa8f0ae136c0170db701a3719c40971a9e15f97f","size":2091010,"noattachment":false,"key":"/onecolor/-/onecolor-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.2.0.tgz"},"publish_time":1330427615154,"_cnpm_publish_time":1330427615154,"_hasShrinkwrap":false},"2.1.0":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.1.0","keywords":["ender","color","colour"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph-builder":"= 0.2.36","uglify-js":">=1.2.0","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-all-debug.js","ender":"lib/ender.js","scripts":{"prepublish":"make && vows"},"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"onecolor@2.1.0","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"9785936a009e737f60663d53d2a07cb00f56a264","size":1927496,"noattachment":false,"key":"/onecolor/-/onecolor-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.1.0.tgz"},"publish_time":1330422169321,"_cnpm_publish_time":1330422169321,"_hasShrinkwrap":false},"2.0.7":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.0.7","keywords":["ender","color","colour"],"maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph-builder":"= 0.2.36","uglify-js":">=1.2.0","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-debug.js","ender":"lib/ender.js","scripts":{"prepublish":"make; vows"},"_npmUser":{"name":"munter","email":"munter@fumle.dk"},"_id":"onecolor@2.0.7","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.11-pre","_defaultsLoaded":true,"dist":{"shasum":"6475fb3342b7fb78155d7eac6273410f8170f42c","size":2451865,"noattachment":false,"key":"/onecolor/-/onecolor-2.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.0.7.tgz"},"publish_time":1327352398502,"_cnpm_publish_time":1327352398502,"_hasShrinkwrap":false},"2.0.6":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.0.6","maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph-builder":"= 0.2.36","uglify-js":">=1.2.0","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-debug.js","scripts":{"prepublish":"make; vows"},"_npmUser":{"name":"munter","email":"munter@fumle.dk"},"_id":"onecolor@2.0.6","dependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.6-pre","_defaultsLoaded":true,"dist":{"shasum":"ac399a2f5a54e620eff37efd34fafe6fdaa03096","size":2077503,"noattachment":false,"key":"/onecolor/-/onecolor-2.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.0.6.tgz"},"publish_time":1326500522175,"_cnpm_publish_time":1326500522175,"_hasShrinkwrap":false},"2.0.5":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.0.5","maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph-builder":"= 0.2.36","uglify-js":">=1.2.0","vows":"=0.6.1"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-debug.js","scripts":{"prepublish":"make; vows"},"_npmUser":{"name":"munter","email":"munter@fumle.dk"},"_id":"onecolor@2.0.5","dependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.6-pre","_defaultsLoaded":true,"dist":{"shasum":"596d21ff9de0c6d013771b348c3d0f4eeacc5a32","size":2077667,"noattachment":false,"key":"/onecolor/-/onecolor-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.0.5.tgz"},"publish_time":1326499212459,"_cnpm_publish_time":1326499212459,"_hasShrinkwrap":false},"2.0.4":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.0.4","maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph-builder":"= 0.2.36"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-debug.js","scripts":{"prepublish":"make"},"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"onecolor@2.0.4","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"f99acb3177d5ceec50637bf35bd6e01916279a35","size":1918818,"noattachment":false,"key":"/onecolor/-/onecolor-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.0.4.tgz"},"publish_time":1325170810929,"_cnpm_publish_time":1325170810929,"_hasShrinkwrap":false},"2.0.3":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.0.3","maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph-builder":"= 0.2.36"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-debug.js","scripts":{"prepublish":"make"},"_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"onecolor@2.0.3","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"d8bfd5a5f6d2e1670c898492cdca61ea616f4d92","size":1918892,"noattachment":false,"key":"/onecolor/-/onecolor-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.0.3.tgz"},"publish_time":1325082345462,"_cnpm_publish_time":1325082345462,"_hasShrinkwrap":false},"2.0.2":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.0.2","maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph-builder":"= 0.2.36"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-debug.js","prepublish":"make","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"onecolor@2.0.2","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"10559765f24fd2db93fa1d36c4d3b40ca88019f6","size":1918840,"noattachment":false,"key":"/onecolor/-/onecolor-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.0.2.tgz"},"publish_time":1325080885352,"_cnpm_publish_time":1325080885352,"_hasShrinkwrap":false},"2.0.1":{"name":"onecolor","description":"Javascript color object with implicit color space conversions. Supports RGB, HSV, HSL and CMYK with alpha channel.","repository":{"type":"git","url":"git@github.com:One-com/one-color.git"},"version":"2.0.1","maintainers":[{"name":"munter","email":"munter@fumle.dk"},{"name":"papandreou","email":"andreas@one.com"}],"devDependencies":{"assetgraph-builder":"= 0.2.11"},"engines":{"node":">=0.4.8"},"directories":{"lib":"./lib"},"publishConfig":{"registry":"http://registry.npmjs.org/"},"main":"one-color-debug.js","_npmUser":{"name":"papandreou","email":"andreas@one.com"},"_id":"onecolor@2.0.1","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.101","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"7e60bf6b76070f813c509e98f818b1b5b1b1eb46","size":1918722,"noattachment":false,"key":"/onecolor/-/onecolor-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/onecolor/download/onecolor-2.0.1.tgz"},"publish_time":1319621959912,"_cnpm_publish_time":1319621959912,"_hasShrinkwrap":false}},"readme":"# onecolor\n\n[![NPM version](https://badge.fury.io/js/onecolor.svg)](http://badge.fury.io/js/onecolor)\n[![Build Status](https://travis-ci.org/One-com/one-color.svg?branch=master)](https://travis-ci.org/One-com/one-color)\n[![Coverage Status](https://img.shields.io/coveralls/One-com/one-color.svg)](https://coveralls.io/r/One-com/one-color?branch=master)\n[![Dependency Status](https://david-dm.org/One-com/one-color.svg)](https://david-dm.org/One-com/one-color)\n\nJavaScript color calculation toolkit for node.js and the browser.\n\nFeatures:\n\n- RGB, HSV, HSL, and CMYK colorspace support (experimental implementations of LAB and XYZ)\n- Legal values for all channels are 0..1\n- Instances are immutable -- a new object is created for each manipulation\n- All internal calculations are done using floating point, so very little precision is lost due to rounding errors when converting between colorspaces\n- Alpha channel support\n- Extensible architecture -- implement your own colorspaces easily\n- Chainable color manipulation\n- Seamless conversion between colorspaces\n- Outputs as hex, `rgb(...)`, or `rgba(...)`.\n\nModule support:\n\n- CommonJS / Node\n- AMD / RequireJS\n- Vanilla JS (installs itself on one.color)\n\nPackage managers:\n\n- npm: `npm install onecolor`\n- bower: `bower install color`\n\nSmall sizes:\n\n- one-color.js ![](http://img.badgesize.io/One-com/one-color/master/one-color.js.svg?label=size) ![](http://img.badgesize.io/One-com/one-color/master/one-color.js.svg?label=gzip&compression=gzip) (Basic RGB, HSV, HSL)\n- one-color-all.js ![](http://img.badgesize.io/One-com/one-color/master/one-color-all.js.svg?label=size) ![](http://img.badgesize.io/One-com/one-color/master/one-color-all.js.svg?label=gzip&compression=gzip) (Full RGB, HSV, HSL, CMYK, XYZ, LAB, named colors, [helper functions](https://github.com/One-com/one-color/tree/master/lib/plugins))\n\n## Usage\n\nIn the browser (change <a href=\"//raw.github.com/One-com/one-color/master/one-color.js\">one-color.js</a> to <a href=\"//raw.github.com/One-com/one-color/master/one-color-all.js\">one-color-all.js</a> to gain\nnamed color support):\n\n```html\n<script src=\"one-color.js\"></script>\n<script>\n  alert(\n    'Hello, ' + one.color('#650042').lightness(0.3).green(0.4).hex() + ' world!'\n  );\n</script>\n```\n\nIn the browser, the parser is exposed as a global named `onecolor`.\nIn node.js, it is returned directly with a require of the module\n(after `npm install onecolor`):\n\n```javascript\nvar color = require('onecolor');\nconsole.warn(color('rgba(100%, 0%, 0%, .5)').alpha(0.4).cssa());\n```\n\n```output\nrgba(255,0,0,0.4)\n```\n\nAll of the above return color instances in the relevant color space\nwith the channel values (0..1) as instance variables:\n\n```javascript\nvar myColor = color('#a9d91d');\nmyColor instanceof color.RGB; // true\nmyColor.red(); // 0.6627450980392157\n```\n\nYou can also parse named CSS colors (works out of the box in node.js,\nbut the requires the slightly bigger <a href=\"//raw.github.com/One-com/one-color/master/one-color-all.js\">one-color-all.js</a> build in the\nbrowser):\n\n```javascript\ncolor('maroon').lightness(0.3).hex(); // '#990000'\n```\n\nTo turn a color instance back into a string, use the `hex()`, `css()`,\nand `cssa()` methods:\n\n```javascript\ncolor('rgb(124, 96, 200)').hex(); // '#7c60c8'\ncolor('#bb7b81').cssa(); // 'rgba(187,123,129,1)'\n```\n\nColor instances have getters/setters for all channels in all supported\ncolorspaces (`red()`, `green()`, `blue()`, `hue()`, `saturation()`, `lightness()`,\n`value()`, `alpha()`, etc.). Thus you don't need to think about which colorspace\nyou're in. All the necessary conversions happen automatically:\n\n```javascript\ncolor('#ff0000') // Red in RGB\n  .green(1) // Set green to the max value, producing yellow (still RGB)\n  .hue(0.5, true) // Add 180 degrees to the hue, implicitly converting to HSV\n  .hex(); // Dump as RGB hex syntax: '#2222ff'\n```\n\nWhen called without any arguments, they return the current value of\nthe channel (0..1):\n\n```javascript\ncolor('#09ffdd').green(); // 1\ncolor('#09ffdd').saturation(); // 0.9647058823529412\n```\n\nWhen called with a single numerical argument (0..1), a new color\nobject is returned with that channel replaced:\n\n```javascript\nvar myColor = color('#00ddff');\nmyColor.red(0.5).red(); // .5\n\n// ... but as the objects are immutable, the original object retains its value:\nmyColor.red(); // 0\n```\n\nWhen called with a single numerical argument (0..1) and `true` as\nthe second argument, a new value is returned with that channel\nadjusted:\n\n```javascript\ncolor('#ff0000') // Red\n  .red(-0.1, true) // Adjust red channel by -0.1\n  .hex(); // '#e60000'\n```\n\n## Alpha channel\n\nAll color instances have an alpha channel (0..1), defaulting to 1\n(opaque). You can simply ignore it if you don't need it.\n\nIt's preserved when converting between colorspaces:\n\n```javascript\ncolor('rgba(10, 20, 30, .8)').green(0.4).saturation(0.2).alpha(); // 0.8\n```\n\n## Comparing color objects\n\nIf you need to know whether two colors represent the same 8 bit color, regardless\nof colorspace, compare their `hex()` values:\n\n```javascript\ncolor('#f00').hex() === color('#e00').red(1).hex(); // true\n```\n\nUse the `equals` method to compare two color instances within a certain\nepsilon (defaults to `1e-9`).\n\n```javascript\ncolor('#e00').lightness(0.00001, true).equals(color('#e00'), 1e-5); // false\ncolor('#e00').lightness(0.000001, true).equals(color('#e00'), 1e-5); // true\n```\n\nBefore comparing the `equals` method converts the other color to the right colorspace,\nso you don't need to convert explicitly in this case either:\n\n```javascript\ncolor('#e00').hsv().equals(color('#e00')); // true\n```\n\n# API overview\n\nColor parser function, the recommended way to create a color instance:\n\n```javascript\ncolor('#a9d91d'); // Regular hex syntax\ncolor('a9d91d'); // hex syntax, # is optional\ncolor('#eee'); // Short hex syntax\ncolor('rgb(124, 96, 200)'); // CSS rgb syntax\ncolor('rgb(99%, 40%, 0%)'); // CSS rgb syntax with percentages\ncolor('rgba(124, 96, 200, .4)'); // CSS rgba syntax\ncolor('hsl(120, 75%, 75%)'); // CSS hsl syntax\ncolor('hsla(120, 75%, 75%, .1)'); // CSS hsla syntax\ncolor('hsv(220, 47%, 12%)'); // CSS hsv syntax (non-standard)\ncolor('hsva(120, 75%, 75%, 0)'); // CSS hsva syntax (non-standard)\ncolor([0, 4, 255, 120]); // CanvasPixelArray entry, RGBA\ncolor(['RGB', 0.5, 0.1, 0.6, 0.9]); // The output format of color.toJSON()\n```\n\nThe slightly bigger <a href=\"//raw.github.com/One-com/one-color/master/one-color-all.js\">one-color-all.js</a> build adds support for\n<a href='http://en.wikipedia.org/wiki/Web_colors'>the standard suite of named CSS colors</a>:\n\n```javascript\ncolor('maroon');\ncolor('darkolivegreen');\n```\n\nExisting onecolor instances pass through unchanged, which is useful\nin APIs where you want to accept either a string or a color instance:\n\n```javascript\ncolor(color('#fff')); // Same as color('#fff')\n```\n\nSerialization methods:\n\n```javascript\nvar myColor = color('#bda65b');\n\nmyColor.hex(); // 6-digit hex string: '#bda65b'\nmyColor.css(); // CSS rgb syntax: 'rgb(10,128,220)'\nmyColor.cssa(); // CSS rgba syntax: 'rgba(10,128,220,0.8)'\nmyColor.toString(); // For debugging: '[onecolor.RGB: Red=0.3 Green=0.8 Blue=0 Alpha=1]'\nmyColor.toJSON(); // [\"RGB\"|\"HSV\"|\"HSL\", <number>, <number>, <number>, <number>]\n```\n\nGetters -- return the value of the channel (converts to other colorspaces as needed):\n\n```javascript\nvar myColor = color('#bda65b');\n\nmyColor.red();\nmyColor.green();\nmyColor.blue();\nmyColor.hue();\nmyColor.saturation();\nmyColor.value();\nmyColor.lightness();\nmyColor.alpha();\nmyColor.cyan(); // one-color-all.js and node.js only\nmyColor.magenta(); // one-color-all.js and node.js only\nmyColor.yellow(); // one-color-all.js and node.js only\nmyColor.black(); // one-color-all.js and node.js only\n```\n\nSetters -- return new color instances with one channel changed:\n\n<!-- evaldown evaluate:false -->\n\n```javascript\ncolor.red(<number>)\ncolor.green(<number>)\ncolor.blue(<number>)\ncolor.hue(<number>)\ncolor.saturation(<number>)\ncolor.value(<number>)\ncolor.lightness(<number>)\ncolor.alpha(<number>)\ncolor.cyan(<number>)    // one-color-all.js and node.js only\ncolor.magenta(<number>) // one-color-all.js and node.js only\ncolor.yellow(<number>)  // one-color-all.js and node.js only\ncolor.black(<number>)   // one-color-all.js and node.js only\n```\n\nAdjusters -- return new color instances with the channel adjusted by\nthe specified delta (0..1):\n\n<!-- evaldown evaluate:false -->\n\n```javascript\ncolor.red(<number>, true)\ncolor.green(<number>, true)\ncolor.blue(<number>, true)\ncolor.hue(<number>, true)\ncolor.saturation(<number>, true)\ncolor.value(<number>, true)\ncolor.lightness(<number>, true)\ncolor.alpha(<number>, true)\ncolor.cyan(<number>, true)    // one-color-all.js and node.js only\ncolor.magenta(<number>, true) // one-color-all.js and node.js only\ncolor.yellow(<number>, true)  // one-color-all.js and node.js only\ncolor.black(<number>, true)   // one-color-all.js and node.js only\n```\n\nComparison with other color objects, returns `true` or `false` (epsilon defaults to `1e-9`):\n\n<!-- evaldown evaluate:false -->\n\n```javascript\ncolor.equals(otherColor[, <epsilon>])\n```\n\n## Mostly for internal (and plugin) use:\n\n\"Low level\" constructors, accept 3 or 4 numerical arguments (0..1):\n\n```javascript\nnew onecolor.RGB(<red>, <green>, <blue>[, <alpha>])\nnew onecolor.HSL(<hue>, <saturation>, <lightness>[, <alpha>])\nnew onecolor.HSV(<hue>, <saturation>, <value>[, <alpha>])\n```\n\nThe <a href=\"//raw.github.com/One-com/one-color/master/one-color-all.js\">one-color-all.js</a> build includes CMYK support:\n\n```javascript\nnew onecolor.CMYK(<cyan>, <magenta>, <yellow>, <black>[, <alpha>])\n```\n\nAll color instances have `rgb()`, `hsv()`, and `hsl()` methods for\nexplicitly converting to another color space. Like the setter and\nadjuster methods they return a new color object representing the same\ncolor in another color space.\n\nIf for some reason you need to get all the channel values in a\nspecific colorspace, do an explicit conversion first to cut down on\nthe number of implicit conversions:\n\n```javascript\nvar myColor = color('#0620ff').lightness(+0.3).rgb();\n\nconsole.log(myColor.red() + ' ' + myColor.green() + ' ' + myColor.blue());\n```\n\n```output\n0 0.06265060240963878 0.5999999999999999\n```\n\n# Building\n\n```\ngit clone https://github.com/One-com/one-color.git\ncd one-color\nnpm install\nnpm run build\n```\n\nIf you aren't up for a complete installation, there are pre-built\npackages in the repository as well as the npm package:\n\n- Basic library: <a href=\"//raw.github.com/One-com/one-color/master/one-color.js\">one-color.js</a>\n- Full library including named color support: <a href=\"//raw.github.com/One-com/one-color/master/one-color-all.js\">one-color-all.js</a>\n\n# License\n\nonecolor is licensed under a standard 2-clause BSD license -- see the `LICENSE` file for details.\n","_attachments":{},"homepage":"https://github.com/One-com/one-color#readme","bugs":{"url":"https://github.com/One-com/one-color/issues"},"license":"BSD-2-Clause"}