Skip to content

harshad57/color-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

live :- Color Generator

Random Color Generator

A fun and interactive webpage built with html, css, and JAVASCRIPT that dynamically generate random colors and display their corresponding hex codes.

Key Features :-

  • Color Generation : Click the button to generate random colors for a grid of blocks.
  • Hex Code Display : Each block shows its corresponding hex code for reference.
  • Responsive Design : The grid adjusts seamlessly to different screen sizes.
  • Interactive Button : Changes label from "Generate Color" to "Change Color" on the first click.

JavaScript Enhancements :-

  • Generate Random Colors : Creates colors in hex format (#RRGGBB) for each block.
  • Dynamic Updates : Updates the background of the blocks and their hex codes dynamically.
  • Event Handling : Enhances interactivity through event listeners for the button.

Check it out live :- https://colorgenerator-harshad57.vercel.app

About

dynamically generate random colors and display their corresponding hex codes.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors