Function egui::widgets::color_picker::color_edit_button_srgb
source · pub fn color_edit_button_srgb(ui: &mut Ui, srgb: &mut [u8; 3]) -> Response
Expand description
Shows a button with the given color.
If the user clicks the button, a full color picker is shown.
The given color is in sRGB
space.