Color Type Convert Package
npm install color-type-convert``sh`
npm install color-type-convert
`sh`
yarn add color-type-convertUsage:
$3
`js
const { hex2rgb } = require("color-type-convert");
console.log(hex2rgb("#7288DA")); // Should output [114, 137, 218]
``
And More ...
If there is a new model you would like to support, or want to add a direct conversion between two existing models, please send us a pull request.