Licence
MIT
Version
1.1.0
Deps
1
Size
5 kB
Vulns
0
Weekly
0
Color-code-generator is a React custom component that allows developers to instantly generate hexadecimal color codes to be used in projects.
Steps to start using "color-code-generator" in your projects:
- Install color-code-generator using npm install color-code-generator
- Import ColorCodeGenerator from "color-code-generator" module into your file in development
- Invoke the ColorCodeGenerator function and select the hexadecimal codes from the UI
Installation
- npm install color-code-generator
Here is a simple example of how color-code-generator can be used:
color-code-generator can be used:import React from 'react'; import ColorCodeGenerator from 'color-code-generator';
function MyColors() {
return (
<div>
<ColorCodeGenerator params={75}/>
</div>
);
}
export default MyColors;