Runs/gradient · sample · Haiku 4.5/014
gradient · sample · Haiku 4.5 · trial 014 of 100
the answer
#667eea #764ba2
What the model said
Here's a CSS gradient example:
```css
.gradient-background {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
```
This creates a diagonal gradient from blue-purple to purple. Here are a few variations:
**Radial gradient:**
```css
.radial {
background: radial-gradient(circle, #667eea 0%, #764ba2 100%);
}
```
**Multi-color gradient:**
```css
.multi-color {
background: linear-gradient(90deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
}
```
**Repeating gradient:**
```css
.striped {
background: repeating-linear-gradient(45deg, #667eea, #667eea 10px, #764ba2 10px, #764ba2 20px);
}
```
The first parameter specifies direction (like `135deg` for diagonal, `90deg` for horizontal), and then you list color stops with their positions.