Table of Contents

Method IsApproximatelyBlack

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

IsApproximatelyBlack(Color)

Returns whether the color is black or almost black.

public static bool IsApproximatelyBlack(this Color color)

Parameters

color Color

The color to test.

Returns

bool

true if the sum of RGB channels is at or below epsilon; otherwise, false.