Retone
Live Material You Dynamic Theming Engine

[ 01 // OVERVIEW & PURPOSE ]
Retone is an interactive demonstration of Material You's dynamic color system, rebuilt for the modern web. Pick a seed color, drop a photo, or sample your screen—the HCT (Hue-Chroma-Tone) engine generates a full tonal palette and retones every surface, button, and shape on the page live in real time.
[ 02 // PROBLEM & ARCHITECTURAL CHALLENGE ]
Replicating Google's HCT color algorithm in a real-time browser environment without causing lag or perceptible delay during live color wheel scrubbing.
[ 03 // SOLUTION & IMPLEMENTATION ]
Integrated Material Color Utilities with pure CSS custom properties and hardware-accelerated transforms. Built with Material 3 Expressive's shape-morphing motion and responsive typography tokens.
[ 04 // KEY TECHNICAL & DESIGN DECISIONS ]
Processed image pixel data using fast octree quantization to extract dominant chromatic seeds and generate 13 dynamic tonal roles.
Mapped computed HCT tonal swatches directly to CSS variables, triggering instantaneous, reflow-free UI theme transitions.
[ 05 // SYSTEM INTERACTION SCREENS ]

- Sub-16ms Real-Time Theming Loop
- Accurate Google HCT Color Science
- Zero External CSS Framework Dependencies