{"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"keywords":["tints","shades","tint","shade","css","color","hex","rgb","rgba","hsl","hsla","alpha","mix"],"dist-tags":{"latest":"2.1.1","beta":"2.0.0-beta.2"},"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"description":"Get tints and shades of a CSS color","readme":"# values.js\n\n[![NPM Version][npm-image]][npm-url]\n[![Minzipped size][bundlephobia-image]][bundlephobic-url]\n[![License][license-image]][license-url]\n![][github-actions-nodejs-image]\n[![codecov][codecov-image]][codecov-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n<!--[![Dependencies][david-image]][david-url]\n[![Dev Dependencies][david-dev-image]][david-dev-url]-->\n[![Libraries.io dependency status for latest release][librariesio-img]][librariesio-url]\n[![Total alerts][lgtm-image]][lgtm-url]\n[![Language grade: JavaScript][lgtm-grade-image]][lgtm-grade-url]\n\nGet tints and shades of a CSS color\n\n> _The lightness or darkness of a color is called its value.\nTints are light values that are made by mixing a color with white, which increases lightness. Shades are dark values that are made by mixing a color with black, which reduces lightness._\n\nhttps://noeldelgado.github.io/values.js/\n\n### Supports\n* \\<color value\\>\n\t* Hexadecimal RGB value: #RGB #RRGGBB\n\t* #RGBA #RRGGBBAA (4 and 8-digit hexadecimal RGBA notation)\n\t* RGB/A - CSS Color Module Level 3 and 4 (number, percentage)\n\t* HSL/A - CSS Color Module Level 3 and 4 (number, deg, rad, turn)\n* \\<color keyword\\>\n\t* One of the [pre-defined color keywords](https://www.w3.org/wiki/CSS/Properties/color/keywords).\n* transparent\n\t* Shorthand for transparent black, rgba(0,0,0,0).\n\n## Installation\n\n**NPM**\n\n```sh\nnpm install values.js --save\n```\n\nOr as a `<script>` tag from a CDN as `Values`:\n\n**Unpkg CDN**\n\n```html\n<script src=\"https://unpkg.com/values.js\"></script>\n```\n\n**jsDelivr CDN**\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/values.js\"></script>\n```\n\n## Usage\n```js\nimport Values from 'values.js'\nconst color = new Values('hsl(204deg 100% 50% / 1)'), { log } = console\n\nlog(color.tint(25))\n//> { rgb: [64, 179, 255], alpha: 1, type: \"tint\", weight: 25, ...methods }\nlog(color.shade(12))\n//> { rgb: [0, 135, 224], alpha: 1, type: \"shade\", weight: 12, ...methods }\nlog(color.tints(8))\n//> (12) [Values...]\nlog(color.shades(23))\n//> (4) [Values...]\nlog(color.all(20))\n//> (11) [Values...]\n\n// instance example for 'red'\nValues {\n  alpha: 1\n  rgb: (3) [255, 0, 0]\n  type: \"base\"\n  weight: 0\n  get hex: ƒ(...)\n  setColor: ƒ setColor(color)\n  tint: ƒ tint(weight=50)\n  tints: ƒ tints(weight=10)\n  shade: ƒ shade(weight=50)\n  shades: ƒ shades(weight=10)\n  all: ƒ all(weight=10)\n  hexString: ƒ hexString()\n  rgbString: ƒ rgbString()\n  getBrightness: ƒ getBrightness()\n}\n```\nSee [tests](https://github.com/noeldelgado/values.js/tree/master/test) for more cases.\n\n## API\n\n### constructor(color)\nThrows if the color is not accepted.\n\n- `@param {string} color` — a valid CSS color string\n\n### setColor(color)\nSets a new base color, returns `null` if color has not been accepted.\n\n- `@param {string} color` - a valid CSS color string\n- `@return {Values|null}`\n\n### tint([weight=50])\nLightens the base color by mixing it with white as specified by weight.\n\n- `@param {number} [weight=50]`\n- `@return {Values}`\n\n### shade([weight=50)\nDarkens the base color by mixing it with black as specified by weight.\n\n- `@param {number} [weight=50]`\n- `@return {Values}`\n\n### tints([weight=10])\nGenerates the tints of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### shades([percentage=10])\nGenerates the shades of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### all([weight=10])\nGenerates the tints and shades of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### hexString()\nReturns the color in hexadecimal RGB notation.\n\n- `@returns {string}` @example `#000000` or `#00000080`\n\n### rgbString()\nReturns the color in rgb() functional notation.\n\n- `@returns {string}` @example `rgb(0, 0, 0)` or `rgba(0, 0, 0, 0.5)`\n\n### getBrightness()\nCalculates the brightness of the color.\n\n- `@return {number}` — the base-color brightness.\n\n## Dev\n```sh\nnpm install \t# install dev-dependencies\nnpm test\t\t# run the tests\nnpm run dev \t# watch for changes and run tests\n```\n\n## Related\n- [shadowlord](https://github.com/noeldelgado/shadowlord) - Tints and shades generator tool\n- [mix-css-color](https://github.com/noeldelgado/mix-css-color) - Mix two CSS colors together in variable proportion. Opacity is included in the calculations.\n- [parse-css-color](https://github.com/noeldelgado/parse-css-color) - Parse a CSS color string\n\n## License\nMIT © [Noel Delgado](https://pixelia.me/)\n\n[npm-image]: https://img.shields.io/npm/v/values.js.svg?logo=npm&label=NPM\n[npm-url]: https://www.npmjs.com/package/values.js\n[github-actions-nodejs-image]: https://github.com/noeldelgado/values.js/workflows/Node.js%20CI/badge.svg\n[github-actions-lighthouse-image]: https://github.com/noeldelgado/values.js/workflows/Lighthouse/badge.svg\n[codecov-image]: https://codecov.io/gh/noeldelgado/values.js/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/noeldelgado/values.js\n[license-image]: https://img.shields.io/npm/l/values.js.svg\n[license-url]: https://github.com/noeldelgado/values.js/blob/master/LICENSE\n[bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/values.js?label=size\n[bundlephobic-url]: https://bundlephobia.com/result?p=values.js\n[snyk-image]: https://snyk.io/test/npm/values.js/badge.svg\n[snyk-url]: https://snyk.io/test/npm/values.js\n[david-image]: https://img.shields.io/david/noeldelgado/values.js.svg\n[david-url]: https://david-dm.org/noeldelgado/values.js\n[david-dev-image]: https://img.shields.io/david/dev/noeldelgado/values.js.svg\n[david-dev-url]: https://david-dm.org/noeldelgado/values.js?type=dev\n[librariesio-img]: https://img.shields.io/librariesio/release/npm/values.js\n[librariesio-url]: https://libraries.io/npm/values.js\n[lgtm-image]: https://img.shields.io/lgtm/alerts/g/noeldelgado/values.js.svg?logo=lgtm&logoWidth=18\n[lgtm-url]: https://lgtm.com/projects/g/noeldelgado/values.js/alerts/\n[lgtm-grade-image]: https://img.shields.io/lgtm/grade/javascript/g/noeldelgado/values.js.svg?logo=lgtm&logoWidth=18\n[lgtm-grade-url]: https://lgtm.com/projects/g/noeldelgado/values.js/context:javascript\n","repository":{"type":"git","url":"git+https://github.com/noeldelgado/values.js.git"},"users":{"zoxon":true},"bugs":{"url":"https://github.com/noeldelgado/values.js/issues"},"license":"MIT","versions":{"0.1.1":{"name":"values.js","version":"0.1.1","description":"Get the tints and shades of a color","main":"dist/values.min.js","repository":{"type":"git","url":"https://github.com/noeldelgado/Values.js.git"},"keywords":["tints","shades","color"],"author":{"name":"Noel Delgado"},"license":"MIT","bugs":{"url":"https://github.com/noeldelgado/Values.js/issues"},"homepage":"http://noeldelgado.github.io/Values.js/","devDependencies":{"grunt":"^0.4.4","grunt-contrib-watch":"^0.6.1","load-grunt-tasks":"^0.4.0","grunt-contrib-uglify":"^0.4.0"},"_id":"values.js@0.1.1","dist":{"shasum":"b110d107d5ee831cd8d585dcfe4dc6dba9879c0d","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-0.1.1.tgz","integrity":"sha512-mfTTrzIHrKeQx05GVepKTPotYN62IYKMRi+giYkPqRU5SzEJyhS1gTSM9cBt7wWR2DysvuUd/Tz0ZHTG6GbJ1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3ZDQxK+S8BvYIbqlbRW+VClLDouucU9qX13krvpsskAiEAjtmfyT/vI57dRPHOQPxPS1dDAFfKxCKzkLKCV5vPmmg="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"directories":{}},"0.1.2":{"name":"values.js","version":"0.1.2","description":"Get the tints and shades of a color","main":"dist/values.min.js","repository":{"type":"git","url":"https://github.com/noeldelgado/Values.js.git"},"keywords":["tints","shades","color"],"author":{"name":"Noel Delgado"},"license":"MIT","bugs":{"url":"https://github.com/noeldelgado/Values.js/issues"},"homepage":"http://noeldelgado.github.io/Values.js/","devDependencies":{"grunt":"^0.4.4","grunt-contrib-watch":"^0.6.1","load-grunt-tasks":"^0.4.0","grunt-contrib-uglify":"^0.4.0"},"_id":"values.js@0.1.2","dist":{"shasum":"1a5d7b54f7984ed95616b871581fb6e31876afd6","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-0.1.2.tgz","integrity":"sha512-5AdLpacvZQBUHyBKCvqKWMljVUyj4ALCp56RA8WrgFFE754cddAP8vdi6d8JseCSqwWMrFTrGAwKQBG/enCxHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICdqBgRnIK6gipBH4L1rHKS59XQ8MTO4qRHP3djd3tMhAiBU6VSdLqZS2QAECTDxBnddT+s8oFNvtNUuXP6iOLsY0g=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"directories":{}},"0.1.4":{"name":"values.js","version":"0.1.4","description":"Get the tints and shades of a color","main":"dist/values.min.js","repository":{"type":"git","url":"https://github.com/noeldelgado/Values.js.git"},"scripts":{"test":"mocha"},"keywords":["tints","shades","color"],"author":{"name":"Noel Delgado"},"license":"MIT","bugs":{"url":"https://github.com/noeldelgado/Values.js/issues"},"homepage":"http://noeldelgado.github.io/Values.js/","devDependencies":{"mocha":"^1.21.4","gulp":"^3.8.8","gulp-header":"^1.1.1","gulp-uglify":"^1.0.1","gulp-rename":"^1.2.0"},"_id":"values.js@0.1.4","dist":{"shasum":"b1da6cb337746a2fa34d7709d4824020ff1797af","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-0.1.4.tgz","integrity":"sha512-WiSiQSi/EOBoebfjocqJgoLq+xIbSI2PUcDC0evsrEmZNlWVC+zXs2+Mf9SM3kh6G8omLvToauv0E+bifq7bOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCY/at2j5I+JeEF6z4j5P8+3w203aB97EREtcbjfjn5KwIhAIY/uL8zs4y5ymaI0ocBJgKBjBhhf1gCosbVNILCVkYg"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"directories":{}},"0.1.5":{"name":"values.js","version":"0.1.5","description":"Get the tints and shades of a color","main":"dist/values.min.js","repository":{"type":"git","url":"https://github.com/noeldelgado/Values.js.git"},"scripts":{"test":"mocha"},"keywords":["tints","shades","color"],"author":{"name":"Noel Delgado"},"license":"MIT","bugs":{"url":"https://github.com/noeldelgado/Values.js/issues"},"homepage":"http://noeldelgado.github.io/Values.js/","devDependencies":{"mocha":"^1.21.4","gulp":"^3.8.8","gulp-header":"^1.1.1","gulp-uglify":"^1.0.1","gulp-rename":"^1.2.0"},"_id":"values.js@0.1.5","dist":{"shasum":"b07da255b330d9938696a6ffcf0aaf5706d573e4","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-0.1.5.tgz","integrity":"sha512-DsqyAJcyFZNlaMJeUVbh1uyW8/3dTssbAClSN7lV0+jI3GQcoZsT76M7aHYLTTVdslhkOO0tLAIKU3h7kWHvxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkjUO57X0gkj/n8ZltBd9c50i66ib7kk2WPAK88JZ27wIhAN6fiBazqg4FnijDAkiLF0N4dtghx2dyNe1lGuCES8y1"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"directories":{}},"1.0.0":{"name":"values.js","version":"1.0.0","description":"Get the tints and shades of a color","main":"index.js","repository":{"type":"git","url":"https://github.com/noeldelgado/Values.js.git"},"scripts":{"test":"mocha","dev":"gulp"},"keywords":["tints","shades","color"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/noeldelgado/Values.js/issues"},"homepage":"http://noeldelgado.github.io/Values.js/","devDependencies":{"gulp":"^3.8.8","mocha":"^1.21.4"},"gitHead":"55bc6e69d5dccfcd73178f990a2b87636f8d34fc","_id":"values.js@1.0.0","_shasum":"568f7ffb70e104a808ac64cdc67040e058c8e8ea","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"dist":{"shasum":"568f7ffb70e104a808ac64cdc67040e058c8e8ea","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-1.0.0.tgz","integrity":"sha512-brtWTIQODO5QOoRDcAFUjvezseiIqCoM3mtTU9sce+pa6Jrz2MDoJiL70W90JzvhTzrz8Pi5N1XqrrmqQRMb1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAFxL4IH48eE6tpkJntYfvI3qL6i8DV0udO7o8FHgKCsAiBDk94H4BUElBrsNHCcn2Yx+iev2I6Hjt+e1bXDxB2s7g=="}]},"directories":{}},"1.0.1":{"name":"values.js","version":"1.0.1","description":"Get the tints and shades of a color","license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/noeldelgado/Values.js.git"},"scripts":{"test":"mocha","dev":"gulp"},"files":["index.js"],"keywords":["tints","shades","color"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"bugs":{"url":"https://github.com/noeldelgado/Values.js/issues"},"homepage":"http://noeldelgado.github.io/Values.js/","devDependencies":{"gulp":"^3.8.8","mocha":"^1.21.4"},"gitHead":"79294f81dba7fbe1358a7ba41bfa2b91a78c6eb1","_id":"values.js@1.0.1","_shasum":"231c634c0429c104ad8cd1b1882c9ca3889072d2","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"dist":{"shasum":"231c634c0429c104ad8cd1b1882c9ca3889072d2","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-1.0.1.tgz","integrity":"sha512-LoGMZmqwm8vdhmq+nEmsf/TI7PCs1hNm5wrExbVCRXsqllHRQdwnGqCzHeqqbDNbpsfmqSvI44RDZsmgKiosyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGYdyUOzf2roCz+IZdSf/8XedZ2SFMbhzlhvVAQgU5rWAiEA9fnj+XnsJhKzc6XNncwQhNjxbNQaSzQhVoZJ2B4A0k0="}]},"directories":{}},"1.0.2":{"name":"values.js","version":"1.0.2","description":"Get the tints and shades of a color","license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/noeldelgado/Values.js.git"},"scripts":{"test":"mocha","test:watch":"npm run test -- -w","dev":"npm run test:watch"},"files":["index.js"],"keywords":["tints","shades","color"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"bugs":{"url":"https://github.com/noeldelgado/Values.js/issues"},"homepage":"http://noeldelgado.github.io/Values.js/","devDependencies":{"mocha":"^1.21.4"},"gitHead":"8c61f35a2a7318b1be0d272dee595d272afe9b58","_id":"values.js@1.0.2","_shasum":"c9c918ea866d9e905d3e140428f8cb50d31d0c1b","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"dist":{"shasum":"c9c918ea866d9e905d3e140428f8cb50d31d0c1b","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-1.0.2.tgz","integrity":"sha512-F699egEn70UAXPDVXB784h77bIq3pfGPVHjn4B3FuyXXK2aEf0ROQojuwGC7Esn2Y3Svwab0OnGFGnOG4lqcFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD2cJQRmbJstXPY1KtcoIU3ygiFTycVx0eU9C80//3VgIgby6GWIY0Y0lZKui8FGxJfs3plJwW+QIFYnNwgkrgbC0="}]},"directories":{}},"1.0.3":{"name":"values.js","version":"1.0.3","description":"Get the tints and shades of a color","license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/noeldelgado/Values.js.git"},"scripts":{"test":"mocha","test:watch":"npm run test -- -w","dev":"npm run test:watch"},"files":["index.js"],"keywords":["tints","shades","color"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"bugs":{"url":"https://github.com/noeldelgado/Values.js/issues"},"homepage":"http://noeldelgado.github.io/Values.js/","devDependencies":{"mocha":"^1.21.4"},"gitHead":"80003a32fb23594b05ce124876bf537d15509acb","_id":"values.js@1.0.3","_shasum":"492a372a8184dad9cf06829668be450836ac532e","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"dist":{"shasum":"492a372a8184dad9cf06829668be450836ac532e","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-1.0.3.tgz","integrity":"sha512-bWSI8hQ+QNC0EA2tz5Bj+tHgHsREji2+p3fINkXppmdyLycm/xtcVXResWqJu0PfVNWWLGMjewIeuNpetkh42A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC1zNxwF6nLYZcYQ98N2E/io5SiGohww8HJ5p++JoAMgIhAIUBhKY7Lzibxj1wGjjlv6HC/u1gTwZpBq1scPdjgqDN"}]},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"directories":{}},"1.1.0":{"name":"values.js","version":"1.1.0","description":"Get the tints and shades of a color","license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/noeldelgado/values.js.git"},"scripts":{"test":"mocha","test:watch":"npm run test -- -w","dev":"npm run test:watch"},"keywords":["tints","shades","color"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"bugs":{"url":"https://github.com/noeldelgado/values.js/issues"},"homepage":"http://noeldelgado.github.io/values.js/","devDependencies":{"mocha":"^7.1.0"},"gitHead":"9fe46e37de08d476b8e8b2badc60e9742bc63f95","_id":"values.js@1.1.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"dist":{"integrity":"sha512-g7uIe7pV0wpf4QVEpoxmeFlsFDZ/KYwkk93+QpkFzUHMRftuTbn1laUqi4SvPHLUg6/rUW0+GORU9g4+s8WUIw==","shasum":"d06af711cbbd3e3b46cdde10d89de46cb9f8c12c","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-1.1.0.tgz","fileCount":5,"unpackedSize":16172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZ0NbCRA9TVsSAnZWagAAhjgP/RMabBeV1jOI0PgzpEdH\nuB/L1CIiioYkLzC+YmMi9XpGmiDVgG5WeIgbXklNN/Hb5Jz/9lPPOrQ6A3de\nIMKWeUAhdUkf+S0+DplGFIeFagIXZbv5bkHqzD9wrbqo5U+mgKcpDp6C+E6B\naUl844xPTD2vjKxppFXSGK7WkrRnBXKUiPljAYlL9aK80QbxRd2HhrECvzVS\nPkcsn35Zbq25TShl0DnzVh3J2i3QKk5Qg77MXZhY/2YPpgHIgUQ8yC8xQATH\nkUBSyXHQ9y4BgB/MU/gDL91q2WFpUdUu+G4XFlzURDn7ldBkuM34S3EjgjRh\ngJR2dNHaZPcOMe1VMCgDFJYkwaEzc9DPtLSmR40PhFjo8LXPzlGw5TGLmSGt\nVjIw03AyciC9ENLeSNFNtZsH7OH9GCRs9/Dl4pf7NJZ9ljYgOZLJXy30Ye3K\nVpFwoaez4IYXCRNDX72zZa+h693LbppD3SktVGJ93cmF/jL1CB6q3QDj46JK\ntXKpxs2UtKRs67udDia6g20mrIOExtZD1No++WX/Gru+gYzrehUJnLiuFhVS\nZ6ZRZjGgv6+qRZcVTwHc08rr7y1R0EMxD+ziaGYjS9kk04cj/7y3znvosjRw\nWNG5cj0sVKW46AdB9a1g/vg1EfL+TQ2/W3UcfPv/zNCRHmdMlIi1eElNO43J\np5VW\r\n=JmHj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAfW4Z9gEiNASgdghEAx/6VL0boVXUM5LLrG0Lj4oaUyAiEAghe18WAGGK7WHAn3pIwb4p4afGDnikjVm8wLWuVSv/E="}]},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/values.js_1.1.0_1583825755017_0.6292300243045699"},"_hasShrinkwrap":false},"1.1.1":{"name":"values.js","version":"1.1.1","description":"Get the tints and shades of a color","license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/noeldelgado/values.js.git"},"scripts":{"test":"mocha","test:watch":"npm run test -- -w","dev":"npm run test:watch"},"keywords":["tints","shades","color"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"bugs":{"url":"https://github.com/noeldelgado/values.js/issues"},"homepage":"http://noeldelgado.github.io/values.js/","devDependencies":{"mocha":"^7.1.0"},"gitHead":"870b2ce2f7d84a7d99f2b83b0452962c658512ba","_id":"values.js@1.1.1","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"dist":{"integrity":"sha512-kyUec6alcUa3WevP+mtfCnSdWLuLyX2F/RFTeFnrSgPutzSjJUotqFtKBv8YzEcOCaQ7FEpAgI1RxeD9/8iozQ==","shasum":"19d947efd0e1b4d31847ceb01ae4754f14afa65a","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-1.1.1.tgz","fileCount":5,"unpackedSize":19058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemIf+CRA9TVsSAnZWagAARc4P/1B53oL6fMK7Nx254VAy\n3ne6WrvEJ4eCo7unZsFETCRxqzqTqhZ8rKzivQZKzZMaFWRWcvfzf2K2VhC4\n3zkO8mzyknkrD48pwfshBdrOdYoAd2KIos3go3xsEUjM0zTuubjUfzyPMOQK\nriIIbBI3OdN36u6UCUX8YkIapq76j01++5vCaIL38EFS35ESvlAlDyywg7D2\n8UE2OWcaSi9u00e8G5si/Qqb1YGCYkDRg6+afI0p/LJCa93QyMm4D58vX86Y\ngCv9tqfYRQeM92qqRrMANsAmAiMH0O8HXBxd9P3UmxNmj8TE3jiw9IiZzUKS\nIWV03mg5emtFQoySMcu7Yi1qGn6YDrSeO7vOU9M84AygreApd1qJBvM3/ulo\nzeycn27hD3t3kq6mJYjSkgT4YkKvAWMJ1gFhFKK5cO9MIdOcNx6qRr5tW0s5\naQ0S2JhZ2CIhd3w0jiqf24fYq6zZj5bpmxLI9rsKEMXudW4loqNMXVG8AiTz\nFQOIT0Zz8/PiVRiSg5EKtakTnAr3RzHMEx28wC/GS+Qw+nYO6Cs/emKyZZmc\ns9wjT8PwWAG6CfEGQnL7K5Kq7Uka8rNnD8y91SBV+KMalnUzEWy8esQ1+frs\nbJqaNJvpCmBL2j5kIPh96KALPchRfFHjfdPqS1PEzUCT/eVqFLXwA2nRi27O\np+nk\r\n=MsF2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgfpwsTpj6gsQV0/AoMqkA92w2cFXNoBRRkr+DWhTKrwIgH1x9zc4eVUyXebWQKqHnedI+MFiFVwIvaQyuiFEMv2c="}]},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/values.js_1.1.1_1587054590472_0.3540077124259433"},"_hasShrinkwrap":false},"2.0.0-beta.0":{"name":"values.js","version":"2.0.0-beta.0","description":"Get tints and shades of a CSS color","main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.umd.js","license":"MIT","scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"mocha test/*","test:watch":"npm test -- -w","prepublishOnly":"npm run build && npm test"},"keywords":["tints","shades","tint","shade","css","color","hex","rgb","rgba","hsl","hsla","alpha","mix"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"homepage":"http://noeldelgado.github.io/values.js/","repository":{"type":"git","url":"git+https://github.com/noeldelgado/values.js.git"},"bugs":{"url":"https://github.com/noeldelgado/values.js/issues"},"dependencies":{"mix-css-color":"^0.1.1","parse-css-color":"^0.1.2","pure-color":"^1.3.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@rollup/plugin-replace":"^2.3.2","eslint":"^7.0.0","eslint-config-rollup":"^0.1.0","mocha":"^7.1.0","rollup":"^2.8.0","rollup-plugin-cleanup":"^3.1.1","rollup-plugin-terser":"^5.3.0"},"readme":"# values.js\n\n[![NPM Version][npm-image]][npm-url]\n![][github-actions-nodejs-image]\n![][github-actions-lighthouse-image]\n[![License][license-image]][license-url]\n[![Minzipped size][bundlephobia-image]][bundlephobic-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![Dependencies][david-image]][david-url]\n[![Dev Dependencies][david-dev-image]][david-dev-url]\n[![Total alerts][lgtm-image]][lgtm-url]\n[![Language grade: JavaScript][lgtm-grade-image]][lgtm-grade-url]\n\nGet tints and shades of a CSS color\n\n> _The lightness or darkness of a color is called its value.\nTints are light values that are made by mixing a color with white, which increases lightness. Shades are dark values that are made by mixing a color with black, which reduces lightness._\n\nhttps://noeldelgado.github.io/values.js/\n\n### Supports\n* \\<color value\\>\n\t* Hexadecimal RGB value: #RGB #RRGGBB\n\t* #RGBA #RRGGBBAA (4 and 8-digit hexadecimal RGBA notation)\n\t* RGB/A - CSS Color Module Level 3 and 4 (number, percentage)\n\t* HSL/A - CSS Color Module Level 3 and 4 (number, deg, rad, turn)\n* \\<color keyword\\>\n\t* One of the [pre-defined color keywords](https://www.w3.org/wiki/CSS/Properties/color/keywords).\n* transparent\n\t* Shorthand for transparent black, rgba(0,0,0,0).\n\n## Installation\n\n**NPM**\n\n```sh\nnpm install values.js --save\n```\n\nOr as a `<script>` tag from a CDN as `Values`:\n\n**Unpkg CDN**\n\n```html\n<script src=\"https://unpkg.com/values.js\"></script>\n```\n\n**jsDelivr CDN**\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/values.js\"></script>\n```\n\n## Usage\n```js\nimport Values from 'values.js'\nconst color = new Values('hsl(204deg 100% 50% / 1)'), { log } = console\n\nlog(color.tint(25))\n//> { rgb: [64, 179, 255], alpha: 1, type: \"tint\", weight: 25, ...methods }\nlog(color.shade(12))\n//> { rgb: [0, 135, 224], alpha: 1, type: \"shade\", weight: 12, ...methods }\nlog(color.tints(8))\n//> (12) [Values...]\nlog(color.shades(23))\n//> (4) [Values...]\nlog(color.all(20))\n//> (11) [Values...]\n\n// instance example for 'red'\nValues {\n  alpha: 1\n  rgb: (3) [255, 0, 0]\n  type: \"base\"\n  weight: 0\n  get hex: ƒ(...)\n  setColor: ƒ setColor(color)\n  tint: ƒ tint(weight=50)\n  tints: ƒ tints(weight=10)\n  shade: ƒ shade(weight=50)\n  shades: ƒ shades(weight=10)\n  all: ƒ all(weight=10)\n  hexString: ƒ hexString()\n  rgbString: ƒ rgbString()\n  getBrightness: ƒ getBrightness()\n}\n```\nSee [tests](https://github.com/noeldelgado/values.js/tree/master/test) for more cases.\n\n## API\n\n### constructor(color)\nThrows if the color is not accepted.\n\n- `@param {string} color` — a valid CSS color string\n\n### setColor(color)\nSets a new base color, returns `null` if color has not been accepted.\n\n- `@param {string} color` - a valid CSS color string\n- `@return {Values|null}`\n\n### tint([weight=50])\nLightens the base color by mixing it with white as specified by weight.\n\n- `@param {number} [weight=50]`\n- `@return {Values}`\n\n### shade([weight=50)\nDarkens the base color by mixing it with black as specified by weight.\n\n- `@param {number} [weight=50]`\n- `@return {Values}`\n\n### tints([weight=10])\nGenerates the tints of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### shades([percentage=10])\nGenerates the shades of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### all([weight=10])\nGenerates the tints and shades of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### hexString()\nReturns the color in hexadecimal RGB notation.\n\n- `@returns {string}` @example `#000000` or `#00000080`\n\n### rgbString()\nReturns the color in rgb() functional notation.\n\n- `@returns {string}` @example `rgb(0, 0, 0)` or `rgba(0, 0, 0, 0.5)`\n\n### getBrightness()\nCalculates the brightness of the color.\n\n- `@return {number}` — the base-color brightness.\n\n## Dev\n```sh\nnpm install \t# install dev-dependencies\nnpm test\t\t# run the tests\nnpm run dev \t# watch for changes and run tests\n```\n\n## Related\n- [shadowlord](https://github.com/noeldelgado/shadowlord) - Tints and shades generator tool\n- [mix-css-color](https://github.com/noeldelgado/mix-css-color) - Mix two CSS colors together in variable proportion. Opacity is included in the calculations.\n- [parse-css-color](https://github.com/noeldelgado/parse-css-color) - Parse a CSS color string\n\n## License\nMIT © [Noel Delgado](https://pixelia.me/)\n\n[npm-image]: https://img.shields.io/npm/v/values.js.svg?logo=npm&label=NPM\n[npm-url]: https://www.npmjs.com/package/values.js\n[github-actions-nodejs-image]: https://github.com/noeldelgado/values.js/workflows/Node.js%20CI/badge.svg?branch=feature/v2\n[github-actions-lighthouse-image]: https://github.com/noeldelgado/values.js/workflows/Lighthouse/badge.svg?branch=feature/v2\n[license-image]: https://img.shields.io/npm/l/values.js.svg\n[license-url]: https://github.com/noeldelgado/values.js/blob/master/LICENSE\n[bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/values.js?label=size\n[bundlephobic-url]: https://bundlephobia.com/result?p=values.js\n[snyk-image]: https://snyk.io/test/npm/values.js/badge.svg\n[snyk-url]: https://snyk.io/test/npm/values.js\n[david-image]: https://img.shields.io/david/noeldelgado/values.js.svg\n[david-url]: https://david-dm.org/noeldelgado/values.js\n[david-dev-image]: https://img.shields.io/david/dev/noeldelgado/values.js.svg\n[david-dev-url]: https://david-dm.org/noeldelgado/values.js?type=dev\n[lgtm-image]: https://img.shields.io/lgtm/alerts/g/noeldelgado/values.js.svg?logo=lgtm&logoWidth=18\n[lgtm-url]: https://lgtm.com/projects/g/noeldelgado/values.js/alerts/\n[lgtm-grade-image]: https://img.shields.io/lgtm/grade/javascript/g/noeldelgado/values.js.svg?logo=lgtm&logoWidth=18\n[lgtm-grade-url]: https://lgtm.com/projects/g/noeldelgado/values.js/context:javascript\n","readmeFilename":"README.md","gitHead":"31035332cec64a951dfdb74153f7a54fc4068644","_id":"values.js@2.0.0-beta.0","_nodeVersion":"12.16.2","_npmVersion":"6.14.5","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"dist":{"integrity":"sha512-JbRtBRGz9iVUmpwC2CILHqYY23iHmrmOWAffB5C0x8vn1+kU7Mn4SQl1C9mESn/RleXY7qHZR3asxVjyF7zbOg==","shasum":"6cdc64512d1db7f7045ac8106c74e1d7be41cc1d","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-2.0.0-beta.0.tgz","fileCount":7,"unpackedSize":31621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyQp3CRA9TVsSAnZWagAA9E4P/0e4ffnIhuxq6iGRAGgB\nkg29iXtE3Re4SCpR11F+/ibQI8MUhxrK6ebRBNukclJNldNkamqNwigee2Jm\nS4EhSRMGxtyoAY73zJw4Tr7uQnRHznQUbmJphbPgEQPsTSuWAIcwzHbialK/\nI9gRVYVQEyRHwh8dFYe6tMl6OuibjDnKwIsetLhX06nsOrSTK8f8ISb9HD1/\nby0JKq7xXmawAomkfYqiFxKZPVz87FejAIujsz/9YDqKoOfD2+r4xa1dSLZL\nbONUfvP8bXZhqgnciEAXPLvaTw59jt6r2LI3VTQtCzMOEqlaGVYQYKN8DgJo\n+2woTg18sjT37Ip/tUayrJb+C7DEcAEk8frvBXmYQuY4P3tycGSGOw3NLYe/\nR2xTW/bPr03vv6aCdkwpg4d2VfL9uQ0DJ5DA5nIrQ8WIMJC4Zpe5V56IRY+E\nTX/x9VNe0r8nHUdqpR+OHxTXhfvNxIYaU6dwL0cWT1dGbp+fbcdkxC0GjDzf\nDO2rjgGT64ZUpNxgwPKgZM4j9zPwNJCvtwt4Q3B+A4X3fxykfe8S0ZphOhby\nlPBBI2ILL7IF3gK8ufyJSqiDw6sjsfbOHmXHoxvnOTRnPmktt7sh2Z6phLWo\nNQ3ChAyevNxYoBaHYHFf2Y2YReSqK3IBMjOygegdOx49actHCgz7oxWreNx0\nZnRp\r\n=WTNM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAOEzbdihJFkoqUxRjftGujO8ONjXBBb2cbIKJ2IDNo4AiEAvFeBlw8+ENVmApZbPAzeyysJ9+SVdRcJxfuJef/ErlI="}]},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/values.js_2.0.0-beta.0_1590233718590_0.35280784813207555"},"_hasShrinkwrap":false},"2.0.0-beta.1":{"name":"values.js","version":"2.0.0-beta.1","description":"Get tints and shades of a CSS color","main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.umd.js","sideEffects":false,"license":"MIT","scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"mocha test/*","test:watch":"npm test -- -w","prepublishOnly":"npm run build && npm test"},"keywords":["tints","shades","tint","shade","css","color","hex","rgb","rgba","hsl","hsla","alpha","mix"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"homepage":"http://noeldelgado.github.io/values.js/","repository":{"type":"git","url":"git+https://github.com/noeldelgado/values.js.git"},"bugs":{"url":"https://github.com/noeldelgado/values.js/issues"},"dependencies":{"mix-css-color":"^0.1.1","parse-css-color":"^0.1.2","pure-color":"^1.3.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@rollup/plugin-replace":"^2.3.2","eslint":"^7.0.0","eslint-config-rollup":"^0.1.0","mocha":"^7.1.0","rollup":"^2.8.0","rollup-plugin-cleanup":"^3.1.1","rollup-plugin-terser":"^5.3.0"},"readme":"# values.js\n\n[![NPM Version][npm-image]][npm-url]\n![][github-actions-nodejs-image]\n![][github-actions-lighthouse-image]\n[![License][license-image]][license-url]\n[![Minzipped size][bundlephobia-image]][bundlephobic-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![Dependencies][david-image]][david-url]\n[![Dev Dependencies][david-dev-image]][david-dev-url]\n[![Total alerts][lgtm-image]][lgtm-url]\n[![Language grade: JavaScript][lgtm-grade-image]][lgtm-grade-url]\n\nGet tints and shades of a CSS color\n\n> _The lightness or darkness of a color is called its value.\nTints are light values that are made by mixing a color with white, which increases lightness. Shades are dark values that are made by mixing a color with black, which reduces lightness._\n\nhttps://noeldelgado.github.io/values.js/\n\n### Supports\n* \\<color value\\>\n\t* Hexadecimal RGB value: #RGB #RRGGBB\n\t* #RGBA #RRGGBBAA (4 and 8-digit hexadecimal RGBA notation)\n\t* RGB/A - CSS Color Module Level 3 and 4 (number, percentage)\n\t* HSL/A - CSS Color Module Level 3 and 4 (number, deg, rad, turn)\n* \\<color keyword\\>\n\t* One of the [pre-defined color keywords](https://www.w3.org/wiki/CSS/Properties/color/keywords).\n* transparent\n\t* Shorthand for transparent black, rgba(0,0,0,0).\n\n## Installation\n\n**NPM**\n\n```sh\nnpm install values.js --save\n```\n\nOr as a `<script>` tag from a CDN as `Values`:\n\n**Unpkg CDN**\n\n```html\n<script src=\"https://unpkg.com/values.js\"></script>\n```\n\n**jsDelivr CDN**\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/values.js\"></script>\n```\n\n## Usage\n```js\nimport Values from 'values.js'\nconst color = new Values('hsl(204deg 100% 50% / 1)'), { log } = console\n\nlog(color.tint(25))\n//> { rgb: [64, 179, 255], alpha: 1, type: \"tint\", weight: 25, ...methods }\nlog(color.shade(12))\n//> { rgb: [0, 135, 224], alpha: 1, type: \"shade\", weight: 12, ...methods }\nlog(color.tints(8))\n//> (12) [Values...]\nlog(color.shades(23))\n//> (4) [Values...]\nlog(color.all(20))\n//> (11) [Values...]\n\n// instance example for 'red'\nValues {\n  alpha: 1\n  rgb: (3) [255, 0, 0]\n  type: \"base\"\n  weight: 0\n  get hex: ƒ(...)\n  setColor: ƒ setColor(color)\n  tint: ƒ tint(weight=50)\n  tints: ƒ tints(weight=10)\n  shade: ƒ shade(weight=50)\n  shades: ƒ shades(weight=10)\n  all: ƒ all(weight=10)\n  hexString: ƒ hexString()\n  rgbString: ƒ rgbString()\n  getBrightness: ƒ getBrightness()\n}\n```\nSee [tests](https://github.com/noeldelgado/values.js/tree/master/test) for more cases.\n\n## API\n\n### constructor(color)\nThrows if the color is not accepted.\n\n- `@param {string} color` — a valid CSS color string\n\n### setColor(color)\nSets a new base color, returns `null` if color has not been accepted.\n\n- `@param {string} color` - a valid CSS color string\n- `@return {Values|null}`\n\n### tint([weight=50])\nLightens the base color by mixing it with white as specified by weight.\n\n- `@param {number} [weight=50]`\n- `@return {Values}`\n\n### shade([weight=50)\nDarkens the base color by mixing it with black as specified by weight.\n\n- `@param {number} [weight=50]`\n- `@return {Values}`\n\n### tints([weight=10])\nGenerates the tints of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### shades([percentage=10])\nGenerates the shades of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### all([weight=10])\nGenerates the tints and shades of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### hexString()\nReturns the color in hexadecimal RGB notation.\n\n- `@returns {string}` @example `#000000` or `#00000080`\n\n### rgbString()\nReturns the color in rgb() functional notation.\n\n- `@returns {string}` @example `rgb(0, 0, 0)` or `rgba(0, 0, 0, 0.5)`\n\n### getBrightness()\nCalculates the brightness of the color.\n\n- `@return {number}` — the base-color brightness.\n\n## Dev\n```sh\nnpm install \t# install dev-dependencies\nnpm test\t\t# run the tests\nnpm run dev \t# watch for changes and run tests\n```\n\n## Related\n- [shadowlord](https://github.com/noeldelgado/shadowlord) - Tints and shades generator tool\n- [mix-css-color](https://github.com/noeldelgado/mix-css-color) - Mix two CSS colors together in variable proportion. Opacity is included in the calculations.\n- [parse-css-color](https://github.com/noeldelgado/parse-css-color) - Parse a CSS color string\n\n## License\nMIT © [Noel Delgado](https://pixelia.me/)\n\n[npm-image]: https://img.shields.io/npm/v/values.js.svg?logo=npm&label=NPM\n[npm-url]: https://www.npmjs.com/package/values.js\n[github-actions-nodejs-image]: https://github.com/noeldelgado/values.js/workflows/Node.js%20CI/badge.svg?branch=feature/v2\n[github-actions-lighthouse-image]: https://github.com/noeldelgado/values.js/workflows/Lighthouse/badge.svg?branch=feature/v2\n[license-image]: https://img.shields.io/npm/l/values.js.svg\n[license-url]: https://github.com/noeldelgado/values.js/blob/master/LICENSE\n[bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/values.js?label=size\n[bundlephobic-url]: https://bundlephobia.com/result?p=values.js\n[snyk-image]: https://snyk.io/test/npm/values.js/badge.svg\n[snyk-url]: https://snyk.io/test/npm/values.js\n[david-image]: https://img.shields.io/david/noeldelgado/values.js.svg\n[david-url]: https://david-dm.org/noeldelgado/values.js\n[david-dev-image]: https://img.shields.io/david/dev/noeldelgado/values.js.svg\n[david-dev-url]: https://david-dm.org/noeldelgado/values.js?type=dev\n[lgtm-image]: https://img.shields.io/lgtm/alerts/g/noeldelgado/values.js.svg?logo=lgtm&logoWidth=18\n[lgtm-url]: https://lgtm.com/projects/g/noeldelgado/values.js/alerts/\n[lgtm-grade-image]: https://img.shields.io/lgtm/grade/javascript/g/noeldelgado/values.js.svg?logo=lgtm&logoWidth=18\n[lgtm-grade-url]: https://lgtm.com/projects/g/noeldelgado/values.js/context:javascript\n","readmeFilename":"README.md","gitHead":"f1260931ba0bda4356eeeb280f6ef22699eb8c6d","_id":"values.js@2.0.0-beta.1","_nodeVersion":"12.16.2","_npmVersion":"6.14.5","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"dist":{"integrity":"sha512-1JFSj1IVuc8i+zFbGYskPP98i9j52zLieeySnwHqQ1cS6RwJiEXqRMTVFf90Gywc1mJUAiJqA79Fu5YKI70+/A==","shasum":"4fdb5f31c44c84a4afbf66d9f02058b69d53422e","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-2.0.0-beta.1.tgz","fileCount":7,"unpackedSize":31645,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyQxWCRA9TVsSAnZWagAA2VUQAInfNfp4AWnCGb7n+dIP\ndOulawe3QuACj4akr1r78nlrn54ozDbe23LCtRTS1AbIICORvoRpVr8qw+CV\nPJpWZbeaB0yhAECvcAjy1OmcUufDT+Aw5lWVxnSogBBWUtXkj+JO2yQckdTX\n65CW737WKz1W7Mccxm3pRAgD0TWUJyltxx2nnHCE6J88/ujpxb5EfknzqR1I\nTqYA/EusSaSgr9Q5rkW9tnNtFCQQtiJI4LyAfzVwEsvBtgUy6vWR/1/jqw8h\nJY+797qtYOMCbSnlAcpWhWoyCSLiJSPl3jXOlKXeZY30K6qjFmf0lNbTxWeR\nw2cdmtQ+qjrmuKrQIRRMHCD5HoWsKIGL3gx9bLSODywb67qJTztc6AY7u2LX\nIcw2LqOEu2kSrrTnUZeQte0r5UOfX5vACOk6q4Wj/xd+mVjnoZf/9Hqo1Pe+\nD/bbmJ6CUdTP655/ohC3ei3cf8kPhsfOszVNJXzkP0VTfzwcFvz10QNf8b60\nwDGYsHjzBbCJr0V8TOZDmVmBMrX6auBbqO2MnBqH1x1gQt0RGC+dqb03DaVg\nmue//+TuEgFPNwsw8oZeBL364a8uXz5BlXrBlSfVuFEqV9qlzY+Jd05ulriV\nwF7ylLVtDWvNw9AkqwZ0nAt8bKbLIeJquEF1sYAWcbb30h9BTRwAKjAUK8Ac\nbutX\r\n=S3CH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCr8slLSpu4CGaOALFXTFZSlS0F0h+V1B7kNlyfx6MRzAIhAPistnzGax/DZbe+kPF12h0nd0UaWbD82hJ3DHXQ3GZe"}]},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/values.js_2.0.0-beta.1_1590234197984_0.9834259682307405"},"_hasShrinkwrap":false},"2.0.0-beta.2":{"name":"values.js","version":"2.0.0-beta.2","description":"Get tints and shades of a CSS color","main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.umd.js","sideEffects":false,"license":"MIT","scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"mocha test/*","test:watch":"npm test -- -w","prepublishOnly":"npm run build && npm test"},"keywords":["tints","shades","tint","shade","css","color","hex","rgb","rgba","hsl","hsla","alpha","mix"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"homepage":"http://noeldelgado.github.io/values.js/","repository":{"type":"git","url":"git+https://github.com/noeldelgado/values.js.git"},"bugs":{"url":"https://github.com/noeldelgado/values.js/issues"},"dependencies":{"mix-css-color":"^0.1.1","parse-css-color":"^0.1.2","pure-color":"^1.3.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@rollup/plugin-replace":"^2.3.2","eslint":"^7.0.0","eslint-config-rollup":"^0.1.0","mocha":"^7.1.0","rollup":"^2.8.0","rollup-plugin-cleanup":"^3.1.1","rollup-plugin-terser":"^5.3.0"},"readme":"# values.js\n\n[![NPM Version][npm-image]][npm-url]\n![][github-actions-nodejs-image]\n![][github-actions-lighthouse-image]\n[![License][license-image]][license-url]\n[![Minzipped size][bundlephobia-image]][bundlephobic-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![Dependencies][david-image]][david-url]\n[![Dev Dependencies][david-dev-image]][david-dev-url]\n[![Total alerts][lgtm-image]][lgtm-url]\n[![Language grade: JavaScript][lgtm-grade-image]][lgtm-grade-url]\n\nGet tints and shades of a CSS color\n\n> _The lightness or darkness of a color is called its value.\nTints are light values that are made by mixing a color with white, which increases lightness. Shades are dark values that are made by mixing a color with black, which reduces lightness._\n\nhttps://noeldelgado.github.io/values.js/\n\n### Supports\n* \\<color value\\>\n\t* Hexadecimal RGB value: #RGB #RRGGBB\n\t* #RGBA #RRGGBBAA (4 and 8-digit hexadecimal RGBA notation)\n\t* RGB/A - CSS Color Module Level 3 and 4 (number, percentage)\n\t* HSL/A - CSS Color Module Level 3 and 4 (number, deg, rad, turn)\n* \\<color keyword\\>\n\t* One of the [pre-defined color keywords](https://www.w3.org/wiki/CSS/Properties/color/keywords).\n* transparent\n\t* Shorthand for transparent black, rgba(0,0,0,0).\n\n## Installation\n\n**NPM**\n\n```sh\nnpm install values.js --save\n```\n\nOr as a `<script>` tag from a CDN as `Values`:\n\n**Unpkg CDN**\n\n```html\n<script src=\"https://unpkg.com/values.js\"></script>\n```\n\n**jsDelivr CDN**\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/values.js\"></script>\n```\n\n## Usage\n```js\nimport Values from 'values.js'\nconst color = new Values('hsl(204deg 100% 50% / 1)'), { log } = console\n\nlog(color.tint(25))\n//> { rgb: [64, 179, 255], alpha: 1, type: \"tint\", weight: 25, ...methods }\nlog(color.shade(12))\n//> { rgb: [0, 135, 224], alpha: 1, type: \"shade\", weight: 12, ...methods }\nlog(color.tints(8))\n//> (12) [Values...]\nlog(color.shades(23))\n//> (4) [Values...]\nlog(color.all(20))\n//> (11) [Values...]\n\n// instance example for 'red'\nValues {\n  alpha: 1\n  rgb: (3) [255, 0, 0]\n  type: \"base\"\n  weight: 0\n  get hex: ƒ(...)\n  setColor: ƒ setColor(color)\n  tint: ƒ tint(weight=50)\n  tints: ƒ tints(weight=10)\n  shade: ƒ shade(weight=50)\n  shades: ƒ shades(weight=10)\n  all: ƒ all(weight=10)\n  hexString: ƒ hexString()\n  rgbString: ƒ rgbString()\n  getBrightness: ƒ getBrightness()\n}\n```\nSee [tests](https://github.com/noeldelgado/values.js/tree/master/test) for more cases.\n\n## API\n\n### constructor(color)\nThrows if the color is not accepted.\n\n- `@param {string} color` — a valid CSS color string\n\n### setColor(color)\nSets a new base color, returns `null` if color has not been accepted.\n\n- `@param {string} color` - a valid CSS color string\n- `@return {Values|null}`\n\n### tint([weight=50])\nLightens the base color by mixing it with white as specified by weight.\n\n- `@param {number} [weight=50]`\n- `@return {Values}`\n\n### shade([weight=50)\nDarkens the base color by mixing it with black as specified by weight.\n\n- `@param {number} [weight=50]`\n- `@return {Values}`\n\n### tints([weight=10])\nGenerates the tints of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### shades([percentage=10])\nGenerates the shades of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### all([weight=10])\nGenerates the tints and shades of the base color as specified by weight.\n\n- `@param {number} [weight=10]`\n- `@return {Array<Values>}`\n\n### hexString()\nReturns the color in hexadecimal RGB notation.\n\n- `@returns {string}` @example `#000000` or `#00000080`\n\n### rgbString()\nReturns the color in rgb() functional notation.\n\n- `@returns {string}` @example `rgb(0, 0, 0)` or `rgba(0, 0, 0, 0.5)`\n\n### getBrightness()\nCalculates the brightness of the color.\n\n- `@return {number}` — the base-color brightness.\n\n## Dev\n```sh\nnpm install \t# install dev-dependencies\nnpm test\t\t# run the tests\nnpm run dev \t# watch for changes and run tests\n```\n\n## Related\n- [shadowlord](https://github.com/noeldelgado/shadowlord) - Tints and shades generator tool\n- [mix-css-color](https://github.com/noeldelgado/mix-css-color) - Mix two CSS colors together in variable proportion. Opacity is included in the calculations.\n- [parse-css-color](https://github.com/noeldelgado/parse-css-color) - Parse a CSS color string\n\n## License\nMIT © [Noel Delgado](https://pixelia.me/)\n\n[npm-image]: https://img.shields.io/npm/v/values.js.svg?logo=npm&label=NPM\n[npm-url]: https://www.npmjs.com/package/values.js\n[github-actions-nodejs-image]: https://github.com/noeldelgado/values.js/workflows/Node.js%20CI/badge.svg?branch=feature/v2\n[github-actions-lighthouse-image]: https://github.com/noeldelgado/values.js/workflows/Lighthouse/badge.svg?branch=feature/v2\n[license-image]: https://img.shields.io/npm/l/values.js.svg\n[license-url]: https://github.com/noeldelgado/values.js/blob/master/LICENSE\n[bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/values.js?label=size\n[bundlephobic-url]: https://bundlephobia.com/result?p=values.js\n[snyk-image]: https://snyk.io/test/npm/values.js/badge.svg\n[snyk-url]: https://snyk.io/test/npm/values.js\n[david-image]: https://img.shields.io/david/noeldelgado/values.js.svg\n[david-url]: https://david-dm.org/noeldelgado/values.js\n[david-dev-image]: https://img.shields.io/david/dev/noeldelgado/values.js.svg\n[david-dev-url]: https://david-dm.org/noeldelgado/values.js?type=dev\n[lgtm-image]: https://img.shields.io/lgtm/alerts/g/noeldelgado/values.js.svg?logo=lgtm&logoWidth=18\n[lgtm-url]: https://lgtm.com/projects/g/noeldelgado/values.js/alerts/\n[lgtm-grade-image]: https://img.shields.io/lgtm/grade/javascript/g/noeldelgado/values.js.svg?logo=lgtm&logoWidth=18\n[lgtm-grade-url]: https://lgtm.com/projects/g/noeldelgado/values.js/context:javascript\n","readmeFilename":"README.md","gitHead":"6dc8b705d3c9c9d9dc4af5c975ff6acccb7cae9d","_id":"values.js@2.0.0-beta.2","_nodeVersion":"12.16.2","_npmVersion":"6.14.5","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"dist":{"integrity":"sha512-y1lX/JaJZiyi0xv1TpPcN8QSGv0I6iJgnQDUVNj4qiCfFv0BJGUhGiuobeu8BZvA9fBBwkCpJ0JOGW/esOdM5A==","shasum":"1f13fa92226db3c01a42c3603eee21e40514ac1a","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-2.0.0-beta.2.tgz","fileCount":7,"unpackedSize":29164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyRMDCRA9TVsSAnZWagAAyxsP/0K+o4+Gb2WY3YMWdUjP\nCqBU9E/zoQOPsIAAxJsSdzBTOJSO71XGNDaQh9Yly05ri5q9nrSQ9UbSrNTG\n2bwF56PzkqORH84uk7KArs9wzktqRsSAZEyx5D0RVavhJd5+krmpw00m9QNS\nqvGRZhaJtCyZV4r/z2kB29UupsoZ89VTJ+32Yd9kmdUnXHeJl2bYZvvZzgbC\nwwvplxx0K4rWz/UpFSVV7BYKlnXqHfZi+jnCoCEtPjzcVktGRiwOOxu5AAQF\nL54VIabbXRW/xfBnM85iOMRIeE7e+ckLR8m9qe2FxEIwSp0EWOlkw6/wCUFP\nco4s5kqIpKNEnO+QV/9jHHUbTKV2DQgK2p9RRe7pO+GYLYz1nxr6/Eif7IoR\nFcC3Ny9d7GJC1xoEDolmcEHLz7iVQaqpjILvyBNwRRt6x4VeAgDho2nMmdXF\nINrCi3mZN7gDjifa5NYOrG32pwySYlNmUJlLHCPV2RWgM4OLA+nGdlQ+ZI1g\nEbDDC8jHZ0aNVFS680/iajq7QXSYAvgcHK143rcDMV2wA6I27B0e4AWUdSU/\nsF2EiDpoTlONZnOkqhuaIK+nel2+fQ+lnGz94vO+GzRuvR3q3fexbow9KlcB\nVXTjvOiru+gADEhKxBTmtClromxs/C0k6dLU388yW2RU/fccBy8PQxVmpqpe\njZH8\r\n=Zpyd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHS80dPhdf96Xel/LTZU+cK7fxPqWNtu8E0W0oPq0v1JAiEA59X4HMxuS0q3jUhXPIDESaFYDY1ZXGAKgEMiu6sfbYw="}]},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/values.js_2.0.0-beta.2_1590235906943_0.6568676509749312"},"_hasShrinkwrap":false},"2.0.0":{"name":"values.js","version":"2.0.0","description":"Get tints and shades of a CSS color","main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.umd.js","sideEffects":false,"license":"MIT","scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"mocha test/*","test:watch":"npm test -- -w","prepublishOnly":"npm run build && npm test"},"keywords":["tints","shades","tint","shade","css","color","hex","rgb","rgba","hsl","hsla","alpha","mix"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"homepage":"http://noeldelgado.github.io/values.js/","repository":{"type":"git","url":"git+https://github.com/noeldelgado/values.js.git"},"bugs":{"url":"https://github.com/noeldelgado/values.js/issues"},"dependencies":{"mix-css-color":"^0.1.1","parse-css-color":"^0.1.2","pure-color":"^1.3.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","@rollup/plugin-replace":"^2.3.2","eslint":"^7.0.0","eslint-config-rollup":"^0.1.0","mocha":"^7.1.0","rollup":"^2.8.0","rollup-plugin-cleanup":"^3.1.1","rollup-plugin-terser":"^5.3.0"},"gitHead":"ec65cca458773c822433202414423dd56d225302","_id":"values.js@2.0.0","_nodeVersion":"12.16.2","_npmVersion":"6.14.5","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"dist":{"integrity":"sha512-jTkNoKe//KpHr+P7XR99N95uu4/3tFAylin4kCBW+a0TULj2RI7L6yTjFy/mel8w462vvdSTZYPXqZ4DkT3AHQ==","shasum":"c09826ef45acbdd58c080fb5440ea669b3c3729a","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-2.0.0.tgz","fileCount":7,"unpackedSize":29440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeyS0oCRA9TVsSAnZWagAA2TUP/22LGKD/hvDujq+bbgwj\ny8eibD+nNzPsLJIdMfX2BbSkmCkADlNSLu0HF1Gnu1g1Hj71RThS5TVlApTr\nyMeVd3J64hJ7dc09f4KSf60nvsvSFNV5AGxcn+M7x+lhz8eSpugT7J+LvwDD\n+g/HRy0kSupGSHjxIPPLb2Hf66ucCEPdERIpn6of1U7LsTwzjLNPqIRGOXsa\nmHvZFBxKfXbZqVMlw1v53F+buVGZjUiWXM73zUwwuLC0rO6XRZeXDh0tOCjm\nvPy1CXA4fEx3saymXkuYikxjyJ6Xd0vgZ/akK7VWfODfiHWtaaD4mKDGNDl7\nfo0WmWPtTVo0DudjSdc6xXEzUozjtDX6Quqc/IWdSCebt62GpM5Hj2PpNyk4\nhKrZSXJryUbF2ayT619V3EbHiJNv6LR0bk+Jo7lBqtRkYqK9gkNnTF+WJRg9\nKGqu8WVPwRqbVRQ26U7wtgxwaKHdYACQbu3r6s/vemoX8+2mP3MVJz06YUQ3\nM00gIbLyl9YTFst7gkV86MVxC0vGIfEnn21yqBPGMsWIGKQrTWvt+f1uNwGM\ny6gHxDFNZ1wjBOKb6BWBYMviNU4cSkqinmDEF8iKN/aG9nRy6ysH+rOfD2CY\nj/uoW8mVXHMJ/QzBnnl1UfdPiI7CkFogtPt9BBFfauwk63PmF41Pelb1NBOR\nA8cF\r\n=aCYs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZaR/iVg7Ip62Gp93/SSfPZ4UPnA7tEdRQQibM7JzsBQIhAMqWFlb6E8gLo25tWLEF0j8evC2FVoU1M7StUljquvcx"}]},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/values.js_2.0.0_1590242599893_0.6018285888381525"},"_hasShrinkwrap":false},"2.1.0":{"name":"values.js","version":"2.1.0","description":"Get tints and shades of a CSS color","main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.umd.js","types":"dist/index.d.ts","sideEffects":false,"license":"MIT","scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"mocha test/*","test:watch":"npm test -- -w","coverage":"nyc npm run test && nyc report --reporter=lcov","prepublishOnly":"npm run build && npm test"},"keywords":["tints","shades","tint","shade","css","color","hex","rgb","rgba","hsl","hsla","alpha","mix"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"homepage":"http://noeldelgado.github.io/values.js/","repository":{"type":"git","url":"git+https://github.com/noeldelgado/values.js.git"},"bugs":{"url":"https://github.com/noeldelgado/values.js/issues"},"dependencies":{"mix-css-color":"0.2.0","parse-css-color":"0.2.0","pure-color":"1.3.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^12.0.0","@rollup/plugin-node-resolve":"^8.0.0","@rollup/plugin-replace":"^2.3.2","eslint":"^7.0.0","eslint-config-rollup":"^0.1.0","mocha":"^7.2.0","nyc":"^15.0.1","rollup":"^2.8.0","rollup-plugin-cleanup":"^3.1.1","rollup-plugin-copy":"^3.4.0","rollup-plugin-sourcemaps":"^0.6.2","rollup-plugin-terser":"^6.0.1"},"gitHead":"de2204ff20580be02abdfa180d33de41ad64472f","_id":"values.js@2.1.0","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"dist":{"integrity":"sha512-9baBdqNaefDxfTI1p1DnVFTSA1xPC3Nr7CPqMvNZdASXvwnF2r+FMPWfhFYAKpFnVTfH6JneYyHfNxlyBpg6ag==","shasum":"bfe770ea31319e77c68d82108046933fdba92fe3","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-2.1.0.tgz","fileCount":8,"unpackedSize":31208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOsz3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrm6g/9GhGYVHm7TIrYMpGrtN6sNG7yDAdW4rVuHjdLhX6/qArH9h0Q\r\n6e2/Z7ED/F+D1nvhuJ0LGdyasiM/uWGxp72zcnp/HQZAePDYC08osqhh9woD\r\n5Q3B7VQYyEJrrxIBcT4QvUbTPbyFNLVIyos810JepyrRGiPqkbvllWnzhjrK\r\nY9enf+zoshvgzbmK1aCNbnNXL1sM4vgBMvTuYbOZ/AU207SSjgE+gVrDHjUf\r\nTLCGXB0MeJXLs8wETjLt0SYtf1yG/hvHJmoglqQHPZXNFskpkV8AqCPzrQU3\r\nB8blQPJDYc6h6MXgzLqr/h5bbOURCXFbxfS6PQV0jQh8JdcS2b9dfTY5dMTY\r\nnHj+65zDQOwTRMsl4fm29P1837xt54mKeCGSlL2SM5DzSZ0tMuO6Hit9fAm5\r\nQJVWbksT8xovVbSItFvXDoZS9vOhoc/BNfFyOb8cJOkNXrRDT2UcrRjbnA5H\r\nbqi5jLtmoZ7VWt++Dc0EOm7In33gYukY/6C+1ezKoMDnXOBSclgjXR+Vwkc/\r\nMXZ8AFyHu4twCqIMgMWYma1txwoVD1SVWXtI2l3dAdgzmtSnO+744Y9RkKzq\r\nrx86rxM0ZYnDyQ1MN0vJsKON8nwusDRfHy+C70Y7JjRs3axNdDs1Bb+S7qtK\r\nhWJcP9CQg2apKDSySZaesX3NP4C0JBaW0ZE=\r\n=dhCw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkBM6nC6uxfz58FtKSEziAbz2jdYH4z9x8sQ4SRZ7Q4gIhANfmagxL9bFngUmwpr21BOb3PlfrJifR+gM+XcDzIHy7"}]},"directories":{},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/values.js_2.1.0_1648020727303_0.833212319356722"},"_hasShrinkwrap":false},"2.1.1":{"name":"values.js","version":"2.1.1","description":"Get tints and shades of a CSS color","main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.umd.js","types":"dist/index.d.ts","sideEffects":false,"license":"MIT","scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"mocha test/*","test:watch":"npm test -- -w","coverage":"nyc npm run test && nyc report --reporter=lcov","prepublishOnly":"npm run build && npm test"},"keywords":["tints","shades","tint","shade","css","color","hex","rgb","rgba","hsl","hsla","alpha","mix"],"author":{"name":"Noel Delgado","email":"pixelia.me@gmail.com","url":"http://pixelia.me"},"homepage":"http://noeldelgado.github.io/values.js/","repository":{"type":"git","url":"git+https://github.com/noeldelgado/values.js.git"},"bugs":{"url":"https://github.com/noeldelgado/values.js/issues"},"dependencies":{"mix-css-color":"0.2.0","parse-css-color":"0.2.0","pure-color":"1.3.0"},"devDependencies":{"@rollup/plugin-buble":"^0.21.3","@rollup/plugin-commonjs":"^12.0.0","@rollup/plugin-node-resolve":"^8.0.0","@rollup/plugin-replace":"^2.3.2","eslint":"^7.0.0","eslint-config-rollup":"^0.1.0","mocha":"^7.2.0","nyc":"^15.0.1","rollup":"^2.8.0","rollup-plugin-cleanup":"^3.1.1","rollup-plugin-copy":"^3.4.0","rollup-plugin-sourcemaps":"^0.6.2","rollup-plugin-terser":"^6.0.1"},"gitHead":"5c89a4ba96e3ae1462cb1c5b6d4417ec4fc9a900","_id":"values.js@2.1.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-pI6dKW3kv7BR/WzS0NvIuxegeH1r8gk8y6BuXrIYGVccynmUsUZPhSpTfkt39VBHyciD7WZi+lM+7Zyamowzeg==","shasum":"d9b2aa5c6aca0b27411114e2832455840796f065","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/values.js/-/values.js-2.1.1.tgz","fileCount":7,"unpackedSize":25042,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB6h9JFlii7ioB9n6HAz+9XDBe9L59ztnZVHeYXxvG5vAiA7MynHSWsZjbSZQmhKQcfxR/bjtodmXa5jg0nS3p0uBw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRONfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIOg/+OQAOspCVFrdsV7m/ew9vVLogCPELIrL589mfArOYv53CLLc3\r\n6lmNr4yZeYTvv/0BbVIEFXc7kRxVQ4eMknIJHGZQEdZ0wNKA54h9Y4hPk5mw\r\nhZ6aVw2fSe1BuXEfwEmiouXEOsyBVHI+ytQpbX0mUtflJnOIUldcAddDsjeP\r\ncBusAUpDDKjtlsrNyyp7S5+uCen1bAs2boND+5caZJz/BKDW84tIUcQYATBH\r\n+vYoErFpepiQo6sqo2N0hUZHDqZ2kDvlQUeNVVTaF6ETDwJ7eg45UMaoKXd2\r\nGNt1jxk8RrtftSxsU7Q+9Xn1wrf8nZoaitImXdL+6fqWTE4SNljjhUhkq0iz\r\nlmkrcRkcwNgTQFY4JpdhvOm76qn41V8rRyErFHFrsQK+czvXXiIKFbnl4Bin\r\nI7IdOq0RK5YyQdkgI+kPulopbU8D/wEJ87GGLysPIcAVbAc/2Ko85OvLHREw\r\njmmV9QYt4o07c6Qg4/Wn44eNJCeU5OxdYwZ6dxML0ikcY0k1OpT6AlCSbLT2\r\nOcZti+mVCfoPik620xXanVvysQTacvSxxFTlHMq47L8FkEUTGKP3Wa+jCWTn\r\nxd1qy3PhZIfCgFJ9/C4jwMj69C4hhxr4D4Qc56QjlW8q4FhY013XZK3+1wWc\r\nYDexWVxmMAVruxvcsvzimvM20P4hw8uEMCk=\r\n=IykI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anonymous","email":"auhcsei@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"auhcsei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/values.js_2.1.1_1648681822784_0.6197214548755614"},"_hasShrinkwrap":false}},"name":"values.js","time":{"modified":"2022-06-28T08:52:36.427Z","created":"2014-07-12T06:02:20.978Z","0.1.1":"2014-07-12T06:02:20.978Z","0.1.2":"2014-07-12T20:27:01.784Z","0.1.4":"2014-09-16T07:08:56.729Z","0.1.5":"2014-09-16T07:30:55.024Z","1.0.0":"2015-03-08T11:46:24.019Z","1.0.1":"2015-03-08T21:19:38.638Z","1.0.2":"2015-03-13T05:07:04.216Z","1.0.3":"2015-10-20T06:38:23.816Z","1.1.0":"2020-03-10T07:35:55.138Z","1.1.1":"2020-04-16T16:29:50.607Z","2.0.0-beta.0":"2020-05-23T11:35:18.728Z","2.0.0-beta.1":"2020-05-23T11:43:18.141Z","2.0.0-beta.2":"2020-05-23T12:11:47.099Z","2.0.0":"2020-05-23T14:03:20.058Z","2.1.0":"2022-03-23T07:32:07.499Z","2.1.1":"2022-03-30T23:10:23.171Z"},"readmeFilename":"README.md","homepage":"http://noeldelgado.github.io/values.js/"}