rcolor.js
v1.0.2
Published
this library is return reverse hex code
Downloads
4
Readme
rcolor.js - getting Reverse Color of hex
install
yarn add rcolor.js
Example
import RColor from 'rcolor.js'
const rcolor = new RColor('#FFFFFF')
rcolor.toRGB() // rgb(255,255,255)
import RColor from 'rcolor.js'
const rcolor = new RColor('#FFFFFF')
rcolor.toReverse() // #000000
testing
using jest.
yarn test
Contributing
Pull requests are welcome.