Set Fill Color
node_set_fillDirectly set a node's fill to a specific RGBA color. Use this to apply a literal color without linking to shared styles or variables.
Instructions
Set a node's fill to a literal RGBA color. Use node_apply_style to link a shared paint style, or node_bind_variable to bind a color token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to modify | |
| nodeName | Yes | Name 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) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the modified node |