Click or drag to resize

Utils_ColorIsDarkBackground Method

Returns true if the given css color is considered a dark background color.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static bool IsDarkBackground(
	string cssColor
)

Parameters

cssColor
Type: SystemString
The background color css color value, e.g. "#F148E4"

Return Value

Type: Boolean
true if color is dark, else false
See Also