Table of Contents

Method IsDarkColor

Namespace
Terminal.Gui.Drawing
Assembly
Terminal.Gui.dll

IsDarkColor()

Returns true if this color is "dark" (HSL lightness < 0.5).

public bool IsDarkColor()

Returns

bool

true if the color's HSL lightness is below 0.5; otherwise false.