egui::widgets::color_picker

Function show_color

Source
pub fn show_color(
    ui: &mut Ui,
    color: impl Into<Color32>,
    desired_size: Vec2,
) -> Response
Expand description

Show a color with background checkers to demonstrate transparency (if any).