Color & Gradient Generator – HEX, RGB, HSL, Contrast & CSS
Use this free Color & Gradient Generator to pick colors, convert HEX/RGB/HSL, check contrast (WCAG), create linear/radial gradients, copy CSS, and export palette swatches. Everything runs in your browser—no uploads.
Pick & Convert Colors
Contrast Checker (WCAG)
Ratio: — • AA (normal): — • AAA (normal): — • AA (large): — • AAA (large): —
Preview text on background
Gradient Builder (Linear / Radial)
background: linear-gradient(90deg, #4f46e5, #06b6d4);
Palette & Export
How to Use This Color & Gradient Generator
- Pick a color or paste a HEX/RGB/HSL value to convert automatically.
- Use the Contrast Checker to verify accessibility (WCAG AA/AAA).
- Build linear or radial gradients and copy CSS.
- Add colors to your Palette and export swatches as PNG.
Why Designers & Developers Love It
- Accurate conversions: HEX ↔ RGB ↔ HSL with live preview.
- Accessibility-first: WCAG contrast ratio for normal/large text.
- Copy-ready: One-click CSS for backgrounds and color values.
- No tracking: 100% client-side; nothing leaves your browser.
FAQ – Color & Gradient Generator
Can I copy CSS for gradients?
Yes. Use the Gradient Builder and click Copy CSS to copy a ready-to-use background
property.
Does this check WCAG contrast?
Yes. Enter foreground and background colors to get the contrast ratio and AA/AAA pass/fail.
Can I export the palette?
Yes. Click Download Swatches (PNG) to export a swatch sheet. You can also copy HEX/RGB lists.
Is my data uploaded?
No. Everything runs locally in your browser for privacy.
Comments
Post a Comment