Contrast
Static Class in Zigurous.ColorPro
Declaration
public static class Contrast
Description
Functions for calculating contrast between colors.
Extension Methods
ContrastRatio | Returns the contrast ratio of the color to another color. |
ContrastRatioString | Returns the contrast ratio of the color to another color as a string. |
HigherContrastingColor | Returns the color that has the higher contrast ratio to the current color. |
HighestContrastingColor | Returns the color that has the highest contrast ratio to the current color. |
LowerContrastingColor | Returns the color that has the lower contrast ratio to the current color. |
LowestContrastingColor | Returns the color that has the lowest contrast ratio to the current color. |