You dont need to worry about what hex code/color to put in your JS project anymore as ez-colors is here , ez-colors allows to add a hex code/color just by the color name.
Example instead of #FC0FC0
you can just put PINK
const ezColors = require('ez-colors');
console.log(ezColors.color("colorName")); //replace 'colorName' with one of the available colors.
Colors | Hex |
---|---|
YELLOW | #FFF200 |
RED | #D30000 |
PINK | #FC0FC0 |
VIOLET | #B200ED |
BLUE | #0018F9 |
GREEN | #3BB143 |
BROWN | #7C4700 |