use ratatui::prelude::Color;
pub fn colo(color: Color) -> (u8, u8, u8) {
match color {
Color::Rgb(r, g, b) => (r, g, b),
_ => (128, 128, 128),
}
}
⭐
Log in to mark this repository.
172 B · text
History
429aa90