Runs/gradient · sample · Haiku 4.5/089
gradient · sample · Haiku 4.5 · trial 089 of 100
the answer
#667eea #764ba2
What the model said
Here's a CSS gradient example: ```css background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); ``` This creates a diagonal gradient from purple-blue to purple. Some variations: **Horizontal gradient:** ```css background: linear-gradient(90deg, #667eea, #764ba2); ``` **Vertical gradient:** ```css background: linear-gradient(to bottom, #667eea, #764ba2); ``` **Radial gradient:** ```css background: radial-gradient(circle, #667eea, #764ba2); ``` **Multiple color stops:** ```css background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%); ``` The basic syntax is `linear-gradient(direction, color1, color2, ...)` or `radial-gradient(shape, color1, color2, ...)`. You can use degrees (0-360), keywords (to right, to bottom, etc.), or percentages for color stops.