summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/color.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/color.rs b/core/src/color.rs
index eff14948..56d5455f 100644
--- a/core/src/color.rs
+++ b/core/src/color.rs
@@ -2,7 +2,7 @@
use palette::rgb::Srgba;
/// A color in the sRGB color space.
-#[derive(Debug, Clone, Copy, PartialEq)]
+#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct Color {
/// Red component, 0.0 - 1.0
pub r: f32,