@vladbndko/colors
v0.1.1
Published
Colors utils
Downloads
1
Readme
colors
Install
npm install @vladbndko/colors
Usage
import { hexToRgb, rgbToHex } from '@vladbndko/colors';
hexToRgb('#84cc16'); // { red: 132, green: 204, blue: 22, aplha: 0 }
rgbToHex('rgb(132, 204, 22)'); // #84cc16