# Conic Rainbow

> A vivid rainbow conic gradient that sweeps around a center point.

- Category: [CSS Gradients & Patterns](https://copy-css.com/category/gradients)
- Tags: conic, rainbow, colorful, background
- Live preview: https://copy-css.com/snippets/conic-gradient
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<div class="conic-gradient"></div>
```

## CSS

```css
.conic-gradient {
  background: conic-gradient(from 90deg at 50% 50%, #ff6b6b, #feca57, #48dbfb, #a29bfe, #ff6b6b);
}
```

## Notes

- This CSS Conic Rainbow is 3 lines of pure CSS (0.1 KB) with no JavaScript and no dependencies. It uses conic gradients.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
