fn parse_grid_color(value: &RValue) -> Option<[u8; 4]>
Parse an R color value to RGBA.
Supports: color name strings, hex strings (#RRGGBB / #RRGGBBAA), and integer indices (treated as palette lookups, default black).