Waves
Rainbows CSS pattern
Little three-band rainbows, row after row.
Customize in the editorChange colors, size and opacity, then export as CSS, SVG or PNG.
Code
Paste the lines into your element's rule. The pattern repeats by itself and adapts to any size.
CSS
background-color: #fdf4ff;
background-image: radial-gradient(circle 23.5px at 24px 24px, transparent 0px 9px, #7e22ce 10px 14px, transparent 15px 15px, #14b8a6 15px 18.5px, transparent 19.5px 19.5px, #7e22ce 19.5px 22.5px, transparent 23.5px);
background-size: 48px 24px;
background-position: 0 0;Tailwind
bg-[#fdf4ff] [background-image:radial-gradient(circle_23.5px_at_24px_24px,_transparent_0px_9px,_#7e22ce_10px_14px,_transparent_15px_15px,_#14b8a6_15px_18.5px,_transparent_19.5px_19.5px,_#7e22ce_19.5px_22.5px,_transparent_23.5px)] [background-size:48px_24px] [background-position:0_0]How to use this pattern
Copy the CSS into the rule of the element that should carry the pattern, for example a section, a card or the body. The colors are hex values in the code and can be swapped directly. In the editor you change everything with sliders and can also export the pattern as SVG or PNG.