set_stroke_color
Set the stroke color of a Figma node by specifying red, green, blue, and optional alpha values. Use this tool to update outline colors for design elements programmatically.
Instructions
Set the stroke color of a node in Figma
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | Alpha component (0-1) | |
| b | Yes | Blue component (0-1) | |
| g | Yes | Green component (0-1) | |
| r | Yes | Red component (0-1) | |
| nodeId | Yes | The ID of the node to modify | |
| weight | No | Stroke weight |