Gradients
Duotone CSS Gradients for Modern UI
Duotone CSS Gradients for Modern UI
Duotone gradients are one of the easiest ways to make interfaces look premium without adding visual noise. You work with two core colors, then control mood through angle, contrast, and transparency.
Why duotone works
- Clear visual direction
- Better brand consistency
- Faster decision-making in design systems
Practical setup
Start with one dark and one bright tone, then keep text layers separate from decorative layers.
Good pair examples
- Indigo + Cyan
- Slate + Mint
- Navy + Coral
Accessibility checks
Always test text contrast on top of the gradient. If your heading is hard to read, add a soft overlay layer between the background and content.
Reusable system
Create 4-6 duotone presets in your project and map them to page types:
- Marketing hero
- Dashboard widgets
- Empty states
- CTA blocks
Final tip
Use our Gradient Generator to quickly iterate tones and export a consistent palette for production.

Comments
0Sign in to leave a comment.