catppuccin-palette/rust/examples/simple.rs
2022-10-23 16:48:40 +01:00

16 lines
338 B
Rust

use catppuccin::{LATTE, MOCHA};
fn main() {
let (r, g, b) = LATTE.teal.into();
println!(
"Latte's teal is #{}, which is rgb({r}, {g}, {b})",
LATTE.teal.hex()
);
let (r, g, b) = MOCHA.teal.into();
println!(
"Mocha's teal is #{}, which is rgb({r}, {g}, {b})",
MOCHA.teal.hex()
);
}