{"_id":"@artifak/hextorgb","_rev":"1-e57bc48d41289377b95139943437ba58","name":"@artifak/hextorgb","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@artifak/hextorgb","version":"1.0.1","description":"Utility function to convert style hex colour codes to RGB string.","keywords":["color","RGB","hexadecimal","utilities"],"author":{"name":"Julian Low"},"license":"MIT","sideEffects":false,"main":"dist/hextorgb.cjs.js","module":"dist/hextorgb.esm.js","src":"src/index.ts","types":"dist/src/index.d.ts","directories":{"lib":"src","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/heyjul3s/artifak.git"},"scripts":{"build":"rimraf dist && builder","test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/heyjul3s/artifak/issues"},"homepage":"https://github.com/heyjul3s/artifak#readme","devDependencies":{"@artifak/bundler":"^1.1.4"},"_id":"@artifak/hextorgb@1.0.1","_nodeVersion":"10.23.2","_npmVersion":"6.14.10","dist":{"integrity":"sha512-WkIcfsqW88UybNZgnlbSTNj+OpX81iKP2xSEYXJlnEfyZZtM2MBbyMaD40544yPWrAiJfmdBu2Vod1EOGOk2bg==","shasum":"d1e9c8808f72c982fe1a9734dab245933fdb741f","tarball":"https://registry.npmjs.org/@artifak/hextorgb/-/hextorgb-1.0.1.tgz","fileCount":16,"unpackedSize":8114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLasoCRA9TVsSAnZWagAAcroP/1kXhJe4xzVut0IJRTWU\nIZzcQi+8n627CnmGfEfc4CjDOiSGU6WScMp1Yi98E9xw2i6cjt+JlInGOQiQ\nunlnzUOCcQh2x6sSR+4yx5uG5FZrzBhaFYSFAcnXXNMe+cF/33ad8xK8AN0k\nTq0ZvGEWZNx0RGgI8yxGOSxtJjAgD+nR820jQlX2bk709GJQYF0tnydBBJmj\nf0f5giZp9eq39J05H8UPfgJK7Ke9gFGCdB85XVWB8+FinH9p5pjiv66HVUQE\ne+tZ8cmPX150YrsJQFAahHOfd3EobHDPz2DRQZ+tmtfQGX1/cyuu7htsQxVg\nCJY4wZ2826gNixz/I7uRXnoahsOAMaHQhmw+JTYWQsADbyXZFCjlEWHzF2iz\nHdX4o6rK3amckfkWbKFo4hV8HppDujQEyyzQd0oN8PyTV+n5Iq+lcWLGODaG\n7CU06fA8XbagTr9AWXjOH/rQ7FnuoJuTCSNja7oy9K1yQojFi0x5Bl2tc8wI\nBTLZ92WjGj1qw0sd3ugRuIQ9pzB+wuTjbtZiD5lfUKKLtFwDkMT/8iyiqUi9\nvXIBHtlkxV6n/CH5Cm7KA3uwc7BnXvfwFY50U5sQy/SBbrBCE2QUJeDLy8dd\nhSM4YC4wgdkTZTMtROaLXWMZrY0cWFDIRR93OD87ZTq1aOxD8FxwXjygjpDY\nUpAx\r\n=ELYN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFd7lKD+t3BBKtQsdTSDiOcFJcD+RSrp2qWnjk9ucLPeAiAcV9U/eEBngsxhDUbVETwUMR/GA6J8jhkNconGxImSgg=="}]},"_npmUser":{"name":"heyjules","email":"julian.cy.low@gmail.com"},"maintainers":[{"name":"heyjules","email":"julian.cy.low@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hextorgb_1.0.1_1613605671848_0.04115790069125769"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-17T23:47:51.633Z","1.0.1":"2021-02-17T23:47:52.009Z","modified":"2022-04-04T15:38:45.708Z"},"maintainers":[{"name":"heyjules","email":"julian.cy.low@gmail.com"}],"description":"Utility function to convert style hex colour codes to RGB string.","homepage":"https://github.com/heyjul3s/artifak#readme","keywords":["color","RGB","hexadecimal","utilities"],"repository":{"type":"git","url":"git+https://github.com/heyjul3s/artifak.git"},"author":{"name":"Julian Low"},"bugs":{"url":"https://github.com/heyjul3s/artifak/issues"},"license":"MIT","readme":"# `@artifak/hextorgb`\n\nA utility function to convert hexadecimal colour values to RGB string.\n\n## Installation\n\n### Yarn\n\n```sh\nyarn add @artifak/hextorgb\n```\n\n### NPM\n\n```sh\nnpm install @artifak/hextorgb\n```\n\n## Usage\n\n```ts\nimport { hexToRGB } from 'artifak';\nimport styled from 'styled-components';\n\nexport const Container = styled.div`\n  margin: 0 auto;\n  width: 100%;\n  background: #000;\n  color: ${hexToRGB('#FFF')};\n`;\n```\n","readmeFilename":"README.md"}