RGBA color with 8-bit per channel.
<insightdock/color.h>
struct Color;
| Name | Description |
|---|---|
Color [constructor] | Constructors |
| Name | Description |
|---|---|
black | |
gray | Gray shade (r = g = b). |
rgb | Opaque RGB color (alpha = 255). |
rgba | RGBA color with explicit alpha. |
transparent | |
white |
| Name | Description |
|---|---|
a | Alpha (0 = transparent, 255 = opaque). |
b | Blue component (0–255). |
g | Green component (0–255). |
r | Red component (0–255). |
| Name | Description |
|---|---|
colorblind_color | Color from the Okabe-Ito colorblind-safe palette. |
palette_color | Color from the default 12-color Chart.js palette. |
palette_color_by_kind | Color from a specific palette kind. |
tableau10_color | Color from the Tableau 10 palette. |
Used throughout rendering for fills, strokes, and text.