Share via


ColorExtensions.GetComplementary(Color) Method

Definition

Returns a new color that is on the opposite side of the color wheel from the original.

public static System.Drawing.Color GetComplementary (this System.Drawing.Color color);

Parameters

color
System.Drawing.Color

A color to obtain the complement for.

Returns

System.Drawing.Color

A color that is the complement of the value passed in.

Applies to