A soft pastel diagonal rainbow stripe CSS background with smooth blended gradients and a calm, dreamy aesthetic. Ideal for website hero sections, social media graphics, slides, app screens, landing pages, email headers, portfolios, and modern product visuals.
This background brings a calm, dreamy feeling to any design. The soft pastel colors blend together in smooth diagonal stripes, creating a gentle flow that feels fresh and modern. The rainbow palette stays light and muted, so it never feels overwhelming or too bright. Instead, you get a subtle gradient effect that catches the eye without demanding attention. The diagonal direction adds a sense of movement and energy, while the pastel tones keep everything soft and approachable. It feels playful yet professional, like a warm sunset turned into stripes.
This background works well in many different projects. Here are some places it fits best:
The soft colors make it easy to add text or overlays on top without fighting for attention.
The visual uses CSS gradient layering to create the diagonal rainbow stripes. Multiple gradient layers are stacked on top of each other, each using a different pastel color from the rainbow spectrum. The angle is set to 45 degrees to achieve the diagonal drift effect. Soft color stops blend the transitions between each stripe, creating that smooth, flowing look. The result is a lightweight, scalable background that loads instantly and looks sharp on any screen size. Unlike image files, this CSS background can be easily customized by changing color values or adjusting the angle to match any brand or project.
.codioful {
background: linear-gradient(135deg, rgba(0, 212, 170, 1.000) 0%, rgba(0, 212, 170, 1.000) 12.3%, rgba(255, 183, 197, 1.000) 12.5%, rgba(255, 183, 197, 1.000) 24.8%, rgba(135, 206, 235, 1.000) 25%, rgba(135, 206, 235, 1.000) 37.3%, rgba(221, 160, 221, 1.000) 37.5%, rgba(221, 160, 221, 1.000) 49.8%, rgba(152, 251, 152, 1.000) 50%, rgba(152, 251, 152, 1.000) 62.3%, rgba(240, 230, 140, 1.000) 62.5%, rgba(240, 230, 140, 1.000) 74.8%, rgba(255, 160, 122, 1.000) 75%, rgba(255, 160, 122, 1.000) 87.3%, rgba(32, 178, 170, 1.000) 87.5%, rgba(32, 178, 170, 1.000) 100%), linear-gradient(0deg, rgba(64, 64, 122, 0.870) 0%, rgba(226, 228, 155, 0.870) 100%);
background-size: auto, auto;
background-blend-mode: color-dodge, normal;
}
/* Visual by codioful.com */| Format | Size | Access |
|---|---|---|
| CSS | Responsive | Copy free |
| HD image | 1280 × 720 | Download free |
| Full HD image | 1920 × 1080 | Download free |
| Higher resolution | 2K, 4K, custom | Request |
You can use this visual for free in personal and commercial projects. Credit Codioful when you can. Need clean commercial use without attribution? Get a no-attribution license.
More backgrounds in the same style
Copy this prompt into your AI assistant to find the right Codioful background style for your project.
Fresh CSS and HD background visuals for websites, slides, ads, and social posts.
No spam. Just new visuals and useful updates.