How the WowLayers color wheel calculates harmony
The wheel treats hue as an angle from 0 through 360 degrees. Complementary mode returns the base hue and the point 180 degrees away. Analogous mode keeps the base, then adds 30 degrees and subtracts 30 degrees in that order. Triadic mode adds 120 and 240 degrees. Tetradic square mode adds 90, 180, and 270 degrees, while split-complementary mode adds 150 and 210 degrees. Every offset wraps with modulo 360.
Moving the slider recalculates marker positions and swatches immediately. A marker’s angle is the hue minus 90 degrees, which places zero at the top of the circle, 90 on the right, 180 at the bottom, and 270 on the left. Each marker sits at a radius of 45 percent from the center. This preserves the exact geometry used in the working React Color Lab component.
The original tool derives output colors from hue alone rather than retaining another color’s saturation and lightness. Every generated swatch therefore uses HSL saturation 80% and lightness 50%. The inline HSL-to-HEX routine calculates three channels with the same compact k, a, and f functions as the source, multiplies each result by 255, rounds it, and pads the hexadecimal pair.
At hue zero, complementary mode produces #E61919 and #19E6E6. Triadic mode produces #E61919, #19E619, and #1919E6. Those fixed examples make the behavior easy to verify. Click a square in the harmony palette to copy its lowercase HEX value; the card displays the same code in uppercase. The page uses no remote scripts, libraries, or color service.