UTILS.
Private by default
◐◑

Duotone Generator

Create a two-color duotone gradient with copyable CSS.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
Click the CSS output to copy it.

About this tool

Pick a shadow and highlight color to build a two-color duotone gradient with a live preview and ready-to-copy CSS, all in your browser.

The output is a CSS gradient, not an image effect: no photo is loaded or recolored. The shadow color sits at the 0% stop and the highlight color at 100%. The angle slider runs from 0 to 360 degrees in whole degrees and starts at 135. The copied line looks like background: linear-gradient(135deg, #1e1b4b 0%, #fcd34d 100%); with your own values.

Colors come from the browser's color pickers, so they are written as six-digit hex. There are only two stops and no midpoint control; paste the line into your stylesheet if you want to add more.

Frequently asked questions

What CSS does it output?
It generates a linear-gradient() background going from the shadow color to the highlight color at your chosen angle.
How do I copy the CSS?
Click the output box and the full background declaration is copied to your clipboard.
Does it recolor a photo?
No. It only builds a two-color CSS gradient and has no image input. The Image Filter tool handles grayscale, sepia, brightness, contrast and blur.
Can I use color names or transparency?
No. The pickers return six-digit hex only.

More tools