krita_sample_color
Sample a pixel's color from a Krita canvas or specific layer, returning its hex value and alpha without altering the foreground color.
Instructions
Read one settled RGBA/U8/sRGB projection pixel from the canvas or explicit node. Returns hex color and alpha without changing foreground color.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| node_id | No | ||
| document_id | Yes | ||
| instance_id | Yes |