A cell color value. Matches the Rust Color enum serialized with #[serde(untagged)]:
Color
#[serde(untagged)]
string
Color::Rgb("#RRGGBB")
[number, number]
Color::Theme(index, tint)
Color::None
Pass to model.resolveColor(color) to get the final CSS hex string.
model.resolveColor(color)
A cell color value. Matches the Rust
Colorenum serialized with#[serde(untagged)]:string→Color::Rgb("#RRGGBB")[number, number]→Color::Theme(index, tint)Color::None(field omitted via skip_serializing_if)Pass to
model.resolveColor(color)to get the final CSS hex string.