Skip to main content

Colors Class

NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Media

Provides a set of predefined colors.

public sealed class Colors

Properties

Transparent

public static Color Transparent { get; }

A fully transparent color.

Black

public static Color Black { get; }

The color black.

White

public static Color White { get; }

The color white.

Gray

public static Color Gray { get; }

The color gray.

Red

public static Color Red { get; }

The color red.

Green

public static Color Green { get; }

The color green.

Blue

public static Color Blue { get; }

The color blue.

Yellow

public static Color Yellow { get; }

The color yellow.

Purple

public static Color Purple { get; }

The color purple.

Teal

public static Color Teal { get; }

The color teal.

CornflowerBlue

public static Color CornflowerBlue { get; }

Default focus ring / accent (PC-style highlight).

LightGray

public static Color LightGray { get; }

The color light gray.