mix_colors
Blend up to 12 colors into one using perceptual Lab, RGB, HSV, paint, RYB, or CMYK models. Supports hex, CSS names, and palette references. Returns hex and RGB.
Instructions
Blend up to 12 colors into one. Each color may be a hex (#d2bc93), a CSS name (red), an RNV brand name (brand gold, near-black), or a saved-palette reference (Spring line, or 'Spring line:2' for its 2nd swatch). Optional integer weights bias the blend (defaults to equal). mode selects the model: rgb/hsv/lab are digital blends (lab is perceptual and the default); paint mixes pigments via Kubelka-Munk physics (colors darken like real paint); ryb is the artist's color wheel; cmy is subtractive like printer inks. Returns hex and rgb.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | lab | |
| colors | Yes | ||
| weights | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||