title: Cannot replace color with Magick.Net
body: <p>I'm trying to replace white color with green, but code below doesn't change color.</p>
  
  <p>Code:</p>
  
  <pre><code>private static MagickImage ChangeWhiteColor(MagickImage Image, Color TargetColor)
  {
      Image.Opaque(MagickColor.FromRgb((byte)255, (byte)255, (byte)255), 
          MagickColor.FromRgb(TargetColor.R,
          TargetColor.G,
          TargetColor.B));
      return Image;
  }
  </code></pre>
  
  <p><strong>UPD</strong> I tried to change composite gravity and operator, but nothing changes.</p>
  
  <p>What I should do?</p>