diff --git a/crates/bevy_color/src/lcha.rs b/crates/bevy_color/src/lcha.rs index b1b63c91ac..e372ff492a 100644 --- a/crates/bevy_color/src/lcha.rs +++ b/crates/bevy_color/src/lcha.rs @@ -118,7 +118,7 @@ impl Mix for Lcha { Self { lightness: self.lightness * n_factor + other.lightness * factor, chroma: self.chroma * n_factor + other.chroma * factor, - hue: self.hue * n_factor + other.hue * factor, + hue: crate::color_ops::lerp_hue(self.hue, other.hue, factor), alpha: self.alpha * n_factor + other.alpha * factor, } } diff --git a/crates/bevy_color/src/oklcha.rs b/crates/bevy_color/src/oklcha.rs index 08f3fac908..165fa0af95 100644 --- a/crates/bevy_color/src/oklcha.rs +++ b/crates/bevy_color/src/oklcha.rs @@ -114,7 +114,7 @@ impl Mix for Oklcha { Self { lightness: self.lightness * n_factor + other.lightness * factor, chroma: self.chroma * n_factor + other.chroma * factor, - hue: self.hue * n_factor + other.hue * factor, + hue: crate::color_ops::lerp_hue(self.hue, other.hue, factor), alpha: self.alpha * n_factor + other.alpha * factor, } }