Palette from a reference image
texel_paletteExtract main colors from a reference PNG as a ready palette spec with roles, so you can match concept art instead of guessing hex values.
Instructions
Read a reference PNG in the workspace (concept art, a photo of a figure, another skin) and return its main colors, most common first, each with a role (shadow, midtone, highlight, neutral, accent), as a ready spec "palette" and "legend". Use it to match a reference instead of guessing hex values; derive the other tones with "~" steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a .png file, relative to the workspace. | |
| colors | No | How many colors to keep. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legend | Yes | ||
| entries | Yes | ||
| palette | Yes |