ralex

0.1.0 • Public • Published

ral-to-hex

Convert RAL colour codes to HEX codes. Data taken from this gist.

Installation

npm install --save ralex

Usage

import { ralToHex } from 'ralex'

const colour1 = ralToHex(5025) // '#2A6478' (RAL 5025)
const colour2 = ralToHex(2013) // '#C35831' (RAL 2013)

Package Sidebar

Install

npm i ralex

Weekly Downloads

20

Version

0.1.0

License

MIT

Unpacked Size

6.39 kB

Total Files

5

Last publish

Collaborators

  • hrfmartins