Here are the examples of the csharp api class System.Drawing.Color.GetContrastRatio(System.Drawing.Color) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: CalbucciLib.ExtensionsGalore
Source File: ColorExtensions.cs
Source File: ColorExtensions.cs
public static bool IsAccessibilityContrast(this Color color, Color secondColor, double minContrastRatio = 4.5) { return color.GetContrastRatio(secondColor) >= minContrastRatio; }