color_mix
Mix two hex colors together by providing color codes and a blend ratio between 0 and 1.
Instructions
Mix two hex colors together with a given ratio.
Parameters:
color_a — First hex color without # (e.g. 'FF0000').
color_b — Second hex color without # (e.g. '0000FF').
ratio — Mix ratio 0.0-1.0 (default: 0.5). 0 = all color_a, 1 = all color_b.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color_a | Yes | ||
| color_b | Yes | ||
| ratio | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |