Contrast.HighestContrastingColor
Extension Method in Contrast
Declaration
public static Color HighestContrastingColor(this Color color, params Color[] colors)Description
Returns the color that has the highest contrast ratio to the current color.
Parameters
| color | The color to compare to. |
| colors | The colors to test. |
Returns
| Color | The color that has the highest contrast ratio to the current color. |