2 JavaScript Color Palettes
JavaScript Color Palette is more than just a set of colors; it’s a demonstration of advanced algorithms and in-browser color model manipulation. In this collection, you’ll see how pure JS implements precise conversions between HEX, RGB, and HSL, as well as the generation of harmonic schemes (triadic, complementary, analogous). Special focus is given to CSS Custom Properties (CSS Variables), which ensure immediate application of the palette to the UI and dynamic style updates without re-rendering.
Examples

Neumorphic Color Palette with Sound
This interactive color palette collection utilizes JavaScript’s getComputedStyle and execCommand('copy') to extract RGB values from CSS-defined elements, convert them to HEX, and copy to clipboard. The neumorphic design is achieved through complex box-shadow properties that create extruded shapes, while click handlers trigger a full-screen toast notification (show class) that displays the copied value with dramatic typography and audio feedback.
See the Pen Neumorphic Color Palette with Sound.

Color Palette Generator
A complete color scheme generator implemented with pure JavaScript logic for precise conversion between HEX, RGB, and HSL models, and algorithmic calculation of six main color harmonies (triadic, complementary, etc.).
See the Pen Color Palette Generator.