figma_set_fills
Apply solid fill colors to a Figma node. Use hex codes, CSS values, or bind the fill to a design token ID for dynamic color synchronization.
Instructions
Set the fill colors on a node. Accepts hex or CSS colors, including oklch() and color(display-p3 …). To bind a fill to a design token / color variable, pass that fill's variableId — the variable drives the color and this works on any Figma plan via the bridge (no raw figma_execute needed).
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": {
"nodeId": "<nodeId>",
"fills": "<fills>"
},
"name": "figma_set_fills"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fills | Yes | Array of fill objects | |
| nodeId | Yes | The node ID to modify |