Class ColorExtensions
- Namespace
- Whim
- Assembly
- Whim.dll
Extension methods for Color.
public static class ColorExtensions
- Inheritance
-
ColorExtensions
- Inherited Members
Methods
GetTextColor(Color)
Gets the text color based on the given background color.
From https://stackoverflow.com/questions/3942878/how-to-decide-font-color-in-white-or-black-depending-on-background-color
public static Color GetTextColor(this Color backgroundColor)
Parameters
backgroundColor
Color