Skip to main content

parse_color

Function parse_color 

Source
fn parse_color(value: &RValue) -> [u8; 4]
Expand description

Parse an R color specification to RGBA.

Supports: color names (“red”, “blue”), hex strings (“#RRGGBB”, “#RRGGBBAA”), and integer indices into the default palette.