Talk to Figma MCP

by sonnylazuardi
Verified

set_fill_color

Set the fill color of a node in Figma can be TextNode or FrameNode

Input Schema

NameRequiredDescriptionDefault
aNoAlpha component (0-1)
bYesBlue component (0-1)
gYesGreen component (0-1)
nodeIdYesThe ID of the node to modify
rYesRed 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" }