Contrast.LowestContrastingColor
Extension Method in Contrast
Declaration
public static Color LowestContrastingColor(this Color color, params Color[] colors)
Description
Returns the color that has the lowest 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 lowest contrast ratio to the current color. |