Color Converter
Convert a colour between HEX, RGB, HSL, HSV, HWB, CMYK and OKLCH, with contrast against black and white.
Design & Accessibility
Build linear, radial and conic CSS gradients with a live preview and copyable 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
Drag the colour stops, turn the angle and switch between linear, radial and conic until the gradient looks right, then copy the CSS.
The preview is not a picture of a gradient - it is your own browser drawing the exact declaration you copy, so nothing can look different once it is in your stylesheet. The rule includes a solid background-color as a fallback for very old browsers.
Was this tool helpful?
Convert a colour between HEX, RGB, HSL, HSV, HWB, CMYK and OKLCH, with contrast against black and white.
Stack box-shadow layers with offsets, blur, spread and opacity, and copy the CSS.
Shape each corner, including elliptical corners, and copy the shortest border-radius CSS.
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.