Package Exports
- infinity-random-color
- infinity-random-color/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (infinity-random-color) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
What is Infinity Random Color ?
A random color generator in all format's for a latest browsers.
Installation
Run : npm i infinity-random-color
Use :
import infinityRandomColor from 'infinity-random-color';
infinityRandomColor('hex'); // #519D16
infinityRandomColor('hexa'); // #0E9FF3C2
infinityRandomColor('rgb'); // rgb(186, 98, 40)
infinityRandomColor('rgba'); // rgba(26, 95, 1, 0)
infinityRandomColor('hsl'); // hsl(624, 114%, 193%)
infinityRandomColor('hsla'); // hsla(627, 119%, 139%, 0.2)
Parameters
The Infinity Random Color generator accepts one parameter, It is format
value.