Runs/gradient · sample · Haiku 4.5/050
gradient · sample · Haiku 4.5 · trial 050 of 100
the answer
#667eea #764ba2
What the model said
Here's a simple CSS gradient example:
```css
.gradient-box {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
width: 200px;
height: 200px;
}
```
This creates a diagonal linear gradient from purple-blue to purple. Here are a few variations:
**Vertical gradient:**
```css
background: linear-gradient(to bottom, #ff6b6b, #4ecdc4);
```
**Radial gradient:**
```css
background: radial-gradient(circle, #ffd89b 0%, #19547b 100%);
```
**Multiple colors:**
```css
background: linear-gradient(90deg, #ff0000 0%, #ffff00 25%, #00ff00 50%, #00ffff 75%, #0000ff 100%);
```
The first parameter sets the direction (angle or keywords like `to bottom`, `135deg`), and the subsequent parameters are color stops (color + position). Let me know if you'd like a specific type of gradient!