{"_id":"is-hexcolor","_rev":"20-60696a4e9010feab827d6a3f9f484de7","name":"is-hexcolor","description":"Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"is-hexcolor","version":"0.0.0","description":"Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values","repository":{"type":"git","url":"git+https://github.com/tunnckocore/is-hexcolor.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"main":"index.js","license":"MIT","scripts":{"test":"standard && node test.js"},"dependencies":{"hex-color-regex":"^1.0.2"},"devDependencies":{"assertit":"^0.1.0"},"keywords":[],"gitHead":"4f4d404464a88aff6b27fa4e3b47afb277e181a6","bugs":{"url":"https://github.com/tunnckocore/is-hexcolor/issues"},"homepage":"https://github.com/tunnckocore/is-hexcolor#readme","_id":"is-hexcolor@0.0.0","_shasum":"35d3e509dc3f782d85b407970f59958a677794bb","_from":".","_npmVersion":"2.10.0","_nodeVersion":"2.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"35d3e509dc3f782d85b407970f59958a677794bb","tarball":"https://registry.npmjs.org/is-hexcolor/-/is-hexcolor-0.0.0.tgz","integrity":"sha512-THSy9HmSoRxUIglkKYVYW/xXXMgISoSeL/eMggbp74/TsB8iR3divXLo3UrZ5x2ttn+VCLkJo9p3lmPtKfk0NA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxjnRSgF72+y+TzzZvBEX7qkqPqFgURpktfJ8a/r0ToAIgDJoW3VidF9OMlrcnJOlXrRyP+L8FUyS+VE0oAB87OfQ="}]},"directories":{}},"1.0.0":{"name":"is-hexcolor","version":"1.0.0","description":"Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values","repository":{"type":"git","url":"git+https://github.com/tunnckocore/is-hexcolor.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"main":"index.js","license":"MIT","scripts":{"test":"standard && node test.js"},"dependencies":{"hex-color-regex":"~1.0.2"},"devDependencies":{"assertit":"^0.1.0"},"keywords":["check","color","colors","css","css-color","hex","hex-color","hexcolor","regex","regexp","validate","value"],"gitHead":"4ff671f289fc568e0835695b3d856d0df9ea4f02","bugs":{"url":"https://github.com/tunnckocore/is-hexcolor/issues"},"homepage":"https://github.com/tunnckocore/is-hexcolor#readme","_id":"is-hexcolor@1.0.0","_shasum":"495fee1a12baaf009c102a799bdec3193211274a","_from":".","_npmVersion":"2.10.0","_nodeVersion":"2.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"dist":{"shasum":"495fee1a12baaf009c102a799bdec3193211274a","tarball":"https://registry.npmjs.org/is-hexcolor/-/is-hexcolor-1.0.0.tgz","integrity":"sha512-exeAJKlQsEjg3Sc5604FLXt59MQXkUIVKdJTRLAdLwJM42zCngVyLbEt2gQtb9TSRVzCIbaWbzgDKjbJIBzBFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHFxk/X+WCYwmap/Of2Hb5gOk4Ak9Kvm5cJDKp5ChRSkAiEAsS6YHUCR9u/doteVBqs2Yu2Fh8Z9uAp+czi55sBFyNY="}]},"directories":{}}},"readme":"# is-hexcolor [![npmjs.com][npmjs-img]][npmjs-url] [![The MIT License][license-img]][license-url] \n\n> Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values\n\n[![code climate][codeclimate-img]][codeclimate-url] [![standard code style][standard-img]][standard-url] [![travis build status][travis-img]][travis-url] [![coverage status][coverage-img]][coverage-url] [![dependency status][david-img]][david-url]\n\n\n## Install\n```\nnpm i is-hexcolor --save\nnpm test\n```\n\n\n## Usage\n> For more use-cases see the [tests](./test.js)\n\n```js\nvar isHexcolor = require('is-hexcolor')\n\nisHexcolor('#ffffff') //=> true\nisHexcolor('#fff') //=> true\n\nisHexcolor('fff') //=> false\nisHexcolor('#9gg') //=> false\nisHexcolor('#abcZZZ') //=> false\nisHexcolor('#3333') //=> false\nisHexcolor('#44445555') //=> false\nisHexcolor('foo bar') //=> false\nisHexcolor('foo #fff bar') //=> false\nisHexcolor('foo #f3f3f3 bar') //=> false\n```\n\n\n## Related\n- [copyright-regex](https://github.com/regexps/copyright-regex): Regex for matching and parsing copyright statements.\n- [github-short-url-regex](https://github.com/regexps/github-short-url-regex): Regular expression (Regex) for matching github shorthand (user/repo#branch).\n- [hex-color-regex](https://github.com/regexps/hex-color-regex): The best regular expression (regex) for matching hex color values from string.\n- [mentions-regex](https://github.com/regexps/mentions-regex): 100% twitter compatible `@mentions` regex! Regular expression for matching `@username` mentions, as used on twitter, facebook, github, etc.\n- [todo-regex](https://github.com/regexps/todo-regex): Regular expression for matching TODO statements in a string.\n\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/tunnckoCore/is-hexcolor/issues/new).  \nBut before doing anything, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) guidelines.\n\n\n## [Charlike Make Reagent](http://j.mp/1stW47C) [![new message to charlike][new-message-img]][new-message-url] [![freenode #charlike][freenode-img]][freenode-url]\n\n[![tunnckocore.tk][author-www-img]][author-www-url] [![keybase tunnckocore][keybase-img]][keybase-url] [![tunnckoCore npm][author-npm-img]][author-npm-url] [![tunnckoCore twitter][author-twitter-img]][author-twitter-url] [![tunnckoCore github][author-github-img]][author-github-url]\n\n\n[npmjs-url]: https://www.npmjs.com/package/is-hexcolor\n[npmjs-img]: https://img.shields.io/npm/v/is-hexcolor.svg?label=is-hexcolor\n\n[license-url]: https://github.com/tunnckoCore/is-hexcolor/blob/master/LICENSE.md\n[license-img]: https://img.shields.io/badge/license-MIT-blue.svg\n\n\n[codeclimate-url]: https://codeclimate.com/github/tunnckoCore/is-hexcolor\n[codeclimate-img]: https://img.shields.io/codeclimate/github/tunnckoCore/is-hexcolor.svg\n\n[coverage-url]: https://codeclimate.com/github/tunnckoCore/is-hexcolor\n[coverage-img]: https://img.shields.io/codeclimate/coverage/github/tunnckoCore/is-hexcolor.svg\n\n[travis-url]: https://travis-ci.org/tunnckoCore/is-hexcolor\n[travis-img]: https://img.shields.io/travis/tunnckoCore/is-hexcolor.svg\n\n[coveralls-url]: https://coveralls.io/r/tunnckoCore/is-hexcolor\n[coveralls-img]: https://img.shields.io/coveralls/tunnckoCore/is-hexcolor.svg\n\n[david-url]: https://david-dm.org/tunnckoCore/is-hexcolor\n[david-img]: https://img.shields.io/david/tunnckoCore/is-hexcolor.svg\n\n[standard-url]: https://github.com/feross/standard\n[standard-img]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n\n\n[author-www-url]: http://www.tunnckocore.tk\n[author-www-img]: https://img.shields.io/badge/www-tunnckocore.tk-fe7d37.svg\n\n[keybase-url]: https://keybase.io/tunnckocore\n[keybase-img]: https://img.shields.io/badge/keybase-tunnckocore-8a7967.svg\n\n[author-npm-url]: https://www.npmjs.com/~tunnckocore\n[author-npm-img]: https://img.shields.io/badge/npm-~tunnckocore-cb3837.svg\n\n[author-twitter-url]: https://twitter.com/tunnckoCore\n[author-twitter-img]: https://img.shields.io/badge/twitter-@tunnckoCore-55acee.svg\n\n[author-github-url]: https://github.com/tunnckoCore\n[author-github-img]: https://img.shields.io/badge/github-@tunnckoCore-4183c4.svg\n\n[freenode-url]: http://webchat.freenode.net/?channels=charlike\n[freenode-img]: https://img.shields.io/badge/freenode-%23charlike-5654a4.svg\n\n[new-message-url]: https://github.com/tunnckoCore/messages\n[new-message-img]: https://img.shields.io/badge/send%20me-message-green.svg\n","maintainers":[{"email":"super.ludiq@gmail.com","name":"vanchoy"},{"email":"mameto2011@gmail.com","name":"tunnckocore"}],"time":{"modified":"2022-06-19T02:42:44.073Z","created":"2015-06-01T15:13:35.854Z","0.0.0":"2015-06-01T15:13:35.854Z","1.0.0":"2015-06-01T15:22:10.817Z"},"homepage":"https://github.com/tunnckocore/is-hexcolor#readme","keywords":["check","color","colors","css","css-color","hex","hex-color","hexcolor","regex","regexp","validate","value"],"repository":{"type":"git","url":"git+https://github.com/tunnckocore/is-hexcolor.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"bugs":{"url":"https://github.com/tunnckocore/is-hexcolor/issues"},"license":"MIT","readmeFilename":"README.md"}