CSS Gradient Generator
Build linear, radial and conic CSS gradients with a live preview and copyable CSS.
Design & Accessibility
Stack box-shadow layers with offsets, blur, spread and opacity, and copy the CSS.
Your files and text are processed on your own device, inside this page. Nothing is uploaded to Dubinity or stored, and closing the tab discards it. How privacy works
Shadows that look real are made of two or three layers - a tight dark one where the object meets the surface, and a wide soft one for ambient light - so this tool works in layers rather than a single blur slider.
Set the offset, blur, spread, colour and opacity of each layer, flip any of them to inset, and watch the preview on a light or dark background. The CSS you copy is exactly what the preview is drawing.
Was this tool helpful?
Build linear, radial and conic CSS gradients with a live preview and copyable CSS.
Shape each corner, including elliptical corners, and copy the shortest border-radius CSS.
Convert a colour between HEX, RGB, HSL, HSV, HWB, CMYK and OKLCH, with contrast against black and white.
Generate placeholder paragraphs, sentences or words, in classic Latin or in Arabic filler text.
Generate colour palettes from a base colour and a harmony, or at random with locks, then export CSS, tokens, Tailwind or a PNG.
Check the WCAG 2.2 contrast ratio of a text and background colour, with AA and AAA verdicts and the nearest passing colour.