Red White and Blue Gradient
CSS GradientThe red white and blue gradient is crafted with 5 colors (#FF0000, #FF8080, #FFFFFF, #8080FF, #0000FF). Ready-to-use linear, radial, and conic CSS rules for modern web and mobile apps.

|
#FF0000
#FF8080
#FFFFFF
#8080FF
#0000FF
1. Gradient Color Stops
| Swatch | HEX | RGB | HSL | CMYK | OKLCH |
|---|---|---|---|---|---|
#FF0000 | 255, 0, 0 | 0°, 100%, 50% | 0%, 100%, 100%, 0% | oklch(0.628 0.258 29) | |
#FF8080 | 255, 128, 128 | 0°, 100%, 75% | 0%, 50%, 50%, 0% | oklch(0.744 0.155 21) | |
#FFFFFF | 255, 255, 255 | 0°, 0%, 100% | 0%, 0%, 0%, 0% | oklch(1.000 0.000 263) | |
#8080FF | 128, 128, 255 | 240°, 100%, 75% | 50%, 50%, 0%, 0% | oklch(0.661 0.184 280) | |
#0000FF | 0, 0, 255 | 240°, 100%, 50% | 100%, 100%, 0%, 0% | oklch(0.452 0.313 264) |
2. Gradient Variations & Styles
Linear Gradient
Radial Gradient
Conic Gradient
3. CSS Code & Declarations
Linear Gradient
background: linear-gradient(to right, #FF0000, #FF8080, #FFFFFF, #8080FF, #0000FF);
Radial Gradient
background: radial-gradient(circle, #FF0000, #FF8080, #FFFFFF, #8080FF, #0000FF);
Conic Gradient
background: conic-gradient(from 180deg at 50% 50%, #FF0000, #FF8080, #FFFFFF, #8080FF, #0000FF);
Tailwind CSS
bg-gradient-to-r from-[#FF0000] to-[#0000FF]
SCSS Variable
$gradient-red-white-and-blue-gradient: linear-gradient(to right, #FF0000, #FF8080, #FFFFFF, #8080FF, #0000FF);
4. Stop Accessibility & Contrast
#FF0000Stop 1
On White:4.00:1
On Black:5.25:1
WCAG Pass
#FF8080Stop 2
On White:2.43:1
On Black:8.65:1
WCAG Pass
#FFFFFFStop 3
On White:1.00:1
On Black:21.00:1
WCAG Pass
#8080FFStop 4
On White:3.26:1
On Black:6.45:1
WCAG Pass
#0000FFStop 5
On White:8.59:1
On Black:2.44:1
WCAG Pass
5. UI Preview with Gradient
Card Header
Red White and Blue Gradient Banner
Stunning backgrounds for hero sections, marketing callouts, and modern card containers.
Modern Dark Mode
Gradient Glow
Use vibrant gradients as high-conversion button fills, text-gradients, or active focus rings.
Text Gradient
Similar Gradients
Gradient Ideas
About Red White and Blue Gradient
Gradient Name
Red White and Blue Gradient
Color Stops
5 Colors
First Color
#FF0000
End Color
#0000FF
Color Swatches