UNPKG

@csstools/convert-colors

Version:

Convert colors between RGB, HEX, HSL, HWB, LAB, LCH, and more

81 lines (80 loc) 1.81 kB
{ "name": "@csstools/convert-colors", "version": "2.0.0", "description": "Convert colors between RGB, HEX, HSL, HWB, LAB, LCH, and more", "author": "Jonathan Neal <jonathantneal@hotmail.com>", "license": "CC0-1.0", "repository": "jonathantneal/convert-colors", "homepage": "https://github.com/jonathantneal/convert-colors#readme", "bugs": "https://github.com/jonathantneal/convert-colors/issues", "main": "index.js", "module": "index.mjs", "files": [ "index.js", "index.js.map", "index.mjs", "index.mjs.map" ], "scripts": { "build": "rollup -c .rollup.js --silent", "docs": "jsdoc -c .jsdocrc -d .gh-pages", "prepublishOnly": "npm test", "pretest": "npm run build", "test": "npm run test:ec && npm run test:js && npm run test:tape", "test:ec": "echint test", "test:js": "eslint src/*.js --cache --ignore-path .gitignore --quiet", "test:tape": "node .tape" }, "engines": { "node": ">=6.0.0" }, "devDependencies": { "@babel/core": "^7.2.2", "@babel/preset-env": "^7.3.1", "docdash": "^1.0.2", "echint": "^4.0.1", "eslint": "^5.12.1", "eslint-config-dev": "^2.0.0", "jsdoc": "^3.5.5", "pre-commit": "^1.2.2", "rollup": "^1.1.2", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-terser": "^4.0.3" }, "eslintConfig": { "extends": "dev", "rules": { "max-params": [ 2, 4 ] } }, "keywords": [ "colors", "contrast", "conversions", "converting", "converts", "hex", "hsl", "hsv", "hwb", "lab", "lch", "rgb", "xyz", "blue", "green", "red", "blackness", "hue", "lightness", "saturation", "whiteness", "cie", "ciede2000", "contrast", "wcag" ] }