Convert RAL colour codes to HEX codes. Data taken from this gist.
npm install --save ralex
import { ralToHex } from 'ralex'
const colour1 = ralToHex(5025) // '#2A6478' (RAL 5025)
const colour2 = ralToHex(2013) // '#C35831' (RAL 2013)
Convert RAL colour codes to HEX codes. Data taken from this gist.
npm install --save ralex
import { ralToHex } from 'ralex'
const colour1 = ralToHex(5025) // '#2A6478' (RAL 5025)
const colour2 = ralToHex(2013) // '#C35831' (RAL 2013)
npm i ralex
24
0.1.0
MIT
6.39 kB
5