Color Palette Generator

Generate random color palettes with 5 harmonious colors. Lock colors you like and regenerate the rest. Copy HEX codes instantly.

Press Space to generate
Click to copy
Click to copy
Click to copy
Click to copy
Click to copy
Click Generate or press Space to create a new random palette. Lock colors you like to keep them while regenerating the rest.

How to Use This Tool

  1. 1

    Generate a palette

    Click the Generate Palette button or press the Space key to create a new random 5-color palette.

  2. 2

    Lock colors you like

    Click the lock icon on any color to keep it. Locked colors stay when you generate a new palette — only unlocked colors change.

  3. 3

    Copy color codes

    Click on any color swatch or its HEX code to copy the value to your clipboard instantly.

  4. 4

    Refine your palette

    Keep generating and locking until you have a perfect 5-color palette. Use the HEX codes in your designs, CSS, or design tools.

Frequently Asked Questions

How are the colors generated?
Colors are generated randomly across the full HEX color spectrum (#000000 to #FFFFFF). Each generation produces 5 independent random colors.
Can I lock specific colors?
Yes! Click the lock icon next to any color to keep it fixed. When you generate a new palette, locked colors remain while unlocked ones are replaced with new random colors.
What is a HEX color code?
A HEX color code is a 6-digit hexadecimal number preceded by #, representing red, green, and blue values. For example, #FF0000 is pure red. HEX codes are widely used in web design and CSS.
Can I use the Space key shortcut?
Yes, pressing the Space key on your keyboard will generate a new palette instantly. This makes it quick to cycle through options until you find colors you like.