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