Skip to content

sela891/react-random-color-generator

Repository files navigation

React Random Color Generator This random color generator web application using React shows a random color when a button is clicked: A button with the exact text Generate will cause a new color to be generated when it is clicked Once a color is generated, the background color of a div with the following text Generated Color: , changes.

#TODOs

  • use a library to generate random color
  • useState with initial value (random color)
  • create a button containing the text "Generate"
  • create random color with a button click
  • update the background color of the div once the random color is generated
  • inside the div generate the following text "Generated Color: "
  • allow user to specify hue (eg. green or red or blue)
  • allow user to specify luminosity (eg. light or dark)

About

React Random Color Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors