diff --git a/src/ImageProcessorCore/Colors/Color.cs b/src/ImageProcessorCore/Colors/Color.cs index 36cb548fb..a33ee7c82 100644 --- a/src/ImageProcessorCore/Colors/Color.cs +++ b/src/ImageProcessorCore/Colors/Color.cs @@ -84,7 +84,8 @@ namespace ImageProcessorCore float a = Convert.ToByte(hex.Substring(0, 2), 16); // Do division of Vector4 instead of each component to utilize SIMD optimizations - this.backingVector = FromNonPremultiplied(new Vector4(r, g, b, a) / 255f, this.A); + this.backingVector = new Vector4(r, g, b, a) / 255f; + this.backingVector = FromNonPremultiplied(this.backingVector, this.A); } else if (hex.Length == 6)