set_fill_color
Modify the fill color of a Figma node (TextNode or FrameNode) by specifying RGB values and node ID, enabling precise design adjustments directly through verbal commands.
Instructions
Set the fill color of a node in Figma can be TextNode or FrameNode
Input Schema
Name | Required | Description | Default |
---|---|---|---|
a | No | Alpha component (0-1) | |
b | Yes | Blue component (0-1) | |
g | Yes | Green component (0-1) | |
nodeId | Yes | The ID of the node to modify | |
r | Yes | Red component (0-1) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"a": {
"description": "Alpha component (0-1)",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"b": {
"description": "Blue component (0-1)",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"g": {
"description": "Green component (0-1)",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"nodeId": {
"description": "The ID of the node to modify",
"type": "string"
},
"r": {
"description": "Red component (0-1)",
"maximum": 1,
"minimum": 0,
"type": "number"
}
},
"required": [
"nodeId",
"r",
"g",
"b"
],
"type": "object"
}