diff --git a/crates/bevy_color/src/lcha.rs b/crates/bevy_color/src/lcha.rs index ddb039f194..f21c955378 100644 --- a/crates/bevy_color/src/lcha.rs +++ b/crates/bevy_color/src/lcha.rs @@ -117,7 +117,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 72b178fdc9..8fd7475fbc 100644 --- a/crates/bevy_color/src/oklcha.rs +++ b/crates/bevy_color/src/oklcha.rs @@ -113,7 +113,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, } }