Inputs and outputs
| Name | Type | Default | What it changes |
|---|---|---|---|
| Inputs | |||
| Factor | Density | ||
| A | Appearance | ||
| B | Appearance | ||
| Resolution | Integer | 16 | |
| Settings | |||
| Colour interpolation | Choice | OKLCH | One of: OKLCH, Linear RGB. |
| Output | |||
| Output | Appearance | ||
Blends a to b using factor clamped to [0,1], rounded to the nearest transition step (ties upward). Resolution N produces at most N+1 weights, not a cap on authored swatches. Colour interpolation chooses OKLCH (default, shortest hue, chroma-reduced to sRGB) or linear-light RGB; distances stay linear in blocks. Endpoints are exact. Changed channels need explicit values on both sides or a concrete incoming default/lower layer. Nested XYZ fields are supported; palette workspace/byte limits apply.
appearance.mix
| Name | Type | Default | What it changes |
|---|---|---|---|
| Inputs | |||
| Factor | Density | ||
| A | Appearance | ||
| B | Appearance | ||
| Resolution | Integer | 16 | |
| Settings | |||
| Colour interpolation | Choice | OKLCH | One of: OKLCH, Linear RGB. |
| Output | |||
| Output | Appearance | ||