Debian Codegraph @

examples/named-colors.rs

raw symbols SCIP
1 use csscolorparser::NAMED_COLORS;
2
3 fn main() {
4 for (name, rgb) in &NAMED_COLORS {
5 let [r, g, b] = rgb;
6 println!("\x1B[48;2;{r};{g};{b}m \x1B[49m {name} {rgb:?}");
7 }
8 }