WowLayers Color Lab

Five-Color Palette Generator with Locks

Generate, lock, copy, preview, and export five colors with the original Color Lab behavior.

5 colorsPer-color locksTXT export

Palette Generator

Generate five colors, lock the ones you want to keep, then copy or export the result.

Your Color Palette
Palette Preview
Pro Tips
  • Click a color to copy its HEX code.
  • Lock colors before generating replacements.
  • Export saves the five codes as plain text.

How the WowLayers palette generator works

The generator begins with the five colors from the working Color Lab component: #264653, #2A9D8F, #E9C46A, #F4A261, and #E76F51. Each slot also stores a true-or-false lock state. Clicking a swatch or preview segment copies its lowercase HEX value, while Copy All Colors joins the current five codes with a comma and a space in their displayed order.

Generate New Palette visits all five slots from left to right. A locked slot is returned unchanged. Each unlocked slot consumes three random values: hue is the floor of a number from zero up to 360, saturation adds a floor from zero through 29 to a base of 60, and lightness does the same with a base of 40. The resulting ranges are hue 0–359, saturation 60–89%, and lightness 40–69%.

Each random HSL triple passes through the source component’s exact compact HSL-to-HEX function. Channel values are multiplied by 255, rounded, converted to base 16, and padded to two digits. Colors are generated independently. The tool does not claim that the random result is a measured harmony; use the dedicated color wheel when you need complementary, analogous, triadic, tetradic, or split-complementary hue relationships.

Locking a slot changes only that item and does not copy it. Locks and generated colors live in browser memory and reset when the page reloads. Export Palette creates a plain-text Blob from the same comma-separated lowercase string used by Copy All Colors and downloads it as color-palette.txt. The preview, codes, lock labels, and copy targets all update from the same five-item state.

Frequently asked questions

How does the palette generator choose colors?

Each unlocked slot independently selects a random hue from 0–359, saturation from 60–89%, and lightness from 40–69%, then converts that HSL value to HEX.

What does locking a palette color do?

A locked slot keeps its current HEX value when Generate New Palette replaces every unlocked slot. Locks last only for the current browser page session.

What does Export Palette download?

Export Palette downloads color-palette.txt containing the five lowercase HEX codes separated by a comma and a space, with no added explanation.