Contrast.LowerContrastingColor
Extension Method in Contrast
Declaration
public static Color LowerContrastingColor(this Color color, Color a, Color b)
Description
Returns the color that has the lower contrast ratio to the current color.
Parameters
color | The color to compare to. |
a | The first color to test. |
b | The second color to test. |
Returns
Color | The color that has the lower contrast ratio to the current color. |