OKLab Color Science
Every blend runs through the OKLab perceptual color space — smooth, vivid transitions with no muddy midtones, regardless of hue pair.
OKLab color science, 13 fluid algorithms, halftone, and interactive ASCII matrix — free, runs entirely in your browser.
GradLab is a free online WebGL gradient generator that runs entirely in your browser. It uses GPU-accelerated shaders to produce real-time animated gradients — no server, no installation, no account required.
Unlike standard CSS gradient tools, GradLab operates in the OKLab perceptual color space, which means color transitions stay vivid and balanced across all hue combinations. The result is smoother, more professional-looking gradients straight out of the box.
GradLab includes 13 distinct flow algorithms, each producing a different visual structure:
All algorithms run as GLSL fragment shaders directly on your GPU.
Most gradient tools blend colors in sRGB, which produces dark, muddy midpoints when mixing complementary hues. GradLab routes every blend through OKLab — a perceptually uniform color space — ensuring smooth, natural transitions at every step. You can also switch to RGB blending for a more traditional look.
Apply a dithered halftone layer over any gradient using 4 dither matrices (random, 2×2, 4×4, 8×8 Bayer) and 6 dot shapes (circle, square, diamond, line, cross, ellipse). The result is a print-ready, editorial, or retro-digital aesthetic on top of any fluid gradient.
Overlay a full-canvas grid of ASCII characters that responds to mouse movement in real time. Choose from code snippets, block characters, binary, or enter your own custom text. Characters brighten and decay based on cursor proximity, creating a living typographic texture.
| Format | Use Case |
|---|---|
| PNG | Static assets for design, print, social media |
| MP4 / WebM | Looping video background, social content |
| Standalone HTML | Embed live gradient anywhere with <iframe> |
All exports render at a minimum 2× pixel density for sharp output on every display.
Open gradlab.app in any modern browser — Chrome, Firefox, Safari, or Edge. No account, no download. The canvas starts rendering immediately with one of three preset configurations. From there, adjust colors, pick an algorithm, and export in seconds.