set_stroke_color
Modify a Figma node's stroke color using RGB components; optionally adjust opacity and stroke weight.
Instructions
Set the stroke color of a node in Figma (defaults: opacity 1, weight 1)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to modify | |
| r | Yes | Red component (0-1) | |
| g | Yes | Green component (0-1) | |
| b | Yes | Blue component (0-1) | |
| a | No | Alpha component (0-1) | |
| strokeWeight | No | Stroke weight >= 0) |