Eased gradient
easing_gradientGenerates CSS linear-gradients with color stops spaced along an easing curve to avoid hard edges, useful for image scrims and section transitions.
Instructions
Generates a CSS linear-gradient with stops spaced along an easing curve, without the hard edge of linear gradients. Good for scrims over images and transitions between sections.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>"
},
"name": "easing_gradient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | transparent | |
| from | Yes | Start color, e.g. #000 or rgb(0 0 0 / .8) | |
| steps | No | ||
| easing | No | easeInOutSine | |
| direction | No | E.g. to bottom, 45deg | to bottom |