Runs/gradient · sample · Haiku 4.5/052
gradient · sample · Haiku 4.5 · trial 052 of 100
the answer
#667eea #764ba2
What the model said
Here's a nice CSS gradient example: ```css background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); ``` This creates a diagonal gradient from purple-blue to purple. Here are some other common patterns: **Horizontal gradient:** ```css background: linear-gradient(to right, #ff6b6b, #ffd93d, #6bcf7f); ``` **Radial gradient (circular):** ```css background: radial-gradient(circle, #667eea 0%, #764ba2 100%); ``` **Gradient with multiple stops:** ```css background: linear-gradient(90deg, #ff0000 0%, #ffff00 50%, #00ff00 100%); ``` The basic syntax is: - `linear-gradient(direction, color1, color2, ...)` for linear gradients - `radial-gradient(shape, color1, color2, ...)` for radial gradients - Directions can be: `to right`, `to bottom`, angles like `45deg`, or `135deg` - You can add percentage stops like `#667eea 0%` to control where colors start