ral-to-hex
Version:
Convert RAL color codes to HEX.
28 lines (19 loc) • 1.05 kB
Markdown
# ral-to-hex
Convert RAL colour codes to HEX codes.
[](https://www.npmjs.com/package/ral-to-hex)
[](https://travis-ci.org/juliuste/ral-to-hex)
[](https://david-dm.org/juliuste/ral-to-hex)
[](https://david-dm.org/juliuste/ral-to-hex#info=devDependencies)
[](LICENSE)
## Installation
```bash
npm install --save ral-to-hex
```
## Usage
```js
const hex = require('ral-to-hex')
let colour1 = hex(5025) // '#2A6478' (RAL 5025)
let colour2 = hex(2013) // '#C35831' (RAL 2013)
```
## Contributing
If you found a bug, want to propose a feature or feel the urge to complain about your life, feel free to visit [the issues page](https://github.com/juliuste/ral-to-hex/issues).