Color Palette Generator

How It Works:

  1. Random Colors: The generateRandomColor function creates random hex color codes.
  2. Dynamic Palette: The generatePalette function populates the palette with 5 random colors, each displayed in a square.
  3. Copy to Clipboard: Clicking a color copies its hex code to the clipboard.
  4. Refresh Button: Clicking “Generate New Palette” creates a new set of random colors.
Scroll to Top