[−][src]Function winconsole::console::get_color
pub fn get_color(color: ConsoleColor) -> WinResult<RGB8>
Returns the RGB color value of a ConsoleColor
.
Examples
let black = console::get_color(ConsoleColor::Black).unwrap(); println!("{:?}", black);