Rainbow CSS Gradients

    Browse 5 curated rainbow gradient combinations with hex codes and ready-to-use CSS code. Each gradient includes a live preview and one-click copy.

    Full Spectrum

    background: linear-gradient(90deg, #FF0000, #FF7700, #FFFF00, #00FF00, #0000FF, #8B00FF);

    Soft Rainbow

    background: linear-gradient(135deg, #FFB3BA, #FFDFBA, #FFFFBA, #BAFFC9, #BAE1FF, #D4BAFF);

    Neon Rainbow

    background: linear-gradient(90deg, #FF1744, #FF9100, #FFEA00, #00E676, #2979FF, #D500F9);

    Pastel Bow

    background: linear-gradient(180deg, #F48FB1, #FFB74D, #FFF176, #81C784, #64B5F6, #CE93D8);

    Muted Spectrum

    background: linear-gradient(135deg, #E57373, #FFB74D, #FFF176, #81C784, #64B5F6, #BA68C8);

    Using Rainbow Gradients in Design

    Rainbow gradients celebrate color diversity and inclusivity. Use for Pride events, art platforms, children's products, and creative brand marketing. Apply across wide containers like hero sections and navigation bars for maximum visual impact.

    This collection includes 5 gradient variations using 26 unique colors. Apply these gradients to hero backgrounds, card overlays, button hover states, and decorative dividers. For best results, pair with simple typography and generous spacing. Each gradient above includes copy-ready CSS that works in all modern browsers.

    How to Use Rainbow CSS Gradients

    1. Use the input area to provide your data.
    2. The tool processes it instantly in your browser.
    3. Copy or download the result.

    Custom Gradient Generator · Rainbow Palettes

    Related Gradients

    Related Tools

    Frequently Asked Questions

    How do I use rainbow gradients in CSS?
    Copy the CSS code from any gradient above and paste it as a background property. Example: background: linear-gradient(90deg, #FF0000, #FF7700, #FFFF00, #00FF00, #0000FF, #8B00FF); You can adjust the angle (first value) and color stops to customize.
    How many rainbow gradients are in this collection?
    This collection includes 5 gradient variations using 26 unique colors in the style category. Each gradient uses different color combinations and angles for distinct visual effects.
    Can I customize these gradients?
    Yes. Use our Gradient Generator tool to modify any gradient. You can change colors, angles, add intermediate color stops, and switch between linear and radial gradient types. Click any color chip above to explore it in the Color Explorer.
    Do CSS gradients work in all browsers?
    Yes, linear-gradient() is supported in all modern browsers including Chrome, Firefox, Safari, Edge, and mobile browsers. No vendor prefixes are needed for current browser versions.
    Are these gradients free for commercial use?
    Yes, all gradients are free to use in personal, commercial, and client projects without attribution or restrictions.