diff --git a/egui/src/widgets/color_picker.rs b/egui/src/widgets/color_picker.rs index 65caa341..2f1b8eb6 100644 --- a/egui/src/widgets/color_picker.rs +++ b/egui/src/widgets/color_picker.rs @@ -212,7 +212,7 @@ fn color_text_ui(ui: &mut Ui, color: impl Into) { )); if ui.button("📋").on_hover_text("Click to copy").clicked() { - ui.output().copied_text = format!("rgba({}, {}, {}, {})", r, g, b, a); + ui.output().copied_text = format!("{}, {}, {}, {}", r, g, b, a); } }); }