How to

subtract two colors

Published: 24. October 2011 | Updated: 24. October 2011
License: Microsoft Public License (MS-PL)
Categories: WPF
Tags: C# Colors WPF
Was this snippet helpful for you? YESYES / NONO

Import namespace

using System.Windows.Media;

Code

Color red = Colors.Red;
Color green = Colors.Green;

Color color = Color.Subtract(red, green);
Send us feedback about this snippet »



Related Snippets: