convert_color
Convert a color between formats. Input accepts a hex, CSS name, RNV brand name, or saved-palette reference. With to set to one of hex/rgb/hsv/hsl/lab, returns just that format; leave to out to get all of them. hsv and hsl are fractions from 0 to 1, hue included (multiply hue by 360 for degrees). Read-only and deterministic, with no side effects. Use for format conversion of a single color; to blend several colors into one use mix_colors, and to compare two colors use color_difference.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| color | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||