Color Class

Description

Describes a color in terms of red, green, blue, and alpha channels.

Inheritance Hierarchy

Color does not derive from any class, and no classes derive from it.

Syntax

C#
public class Color
VB
Public Class Color

Fields

Name Description
BLACK Gets the color that has the ARGB value of #FF000000.
WHITE Gets the color that has the ARGB value of #FFFFFFFF.
GREEN Gets the color that has the ARGB value of #FF00FF00.
RED Gets the color that has the ARGB value of #FFFF0000.
BLUE Gets the color that has the ARGB value of #FF0000FF.
YELLOW Gets the color that has the ARGB value of #FFFFFF00.
MAGENTA Gets the color that has the ARGB value of #FFFF00FF.
CYAN Gets the color that has the ARGB value of #FF00FFFF.

Properties

Name Description
R Gets the value of the red ARGB channel of the color. Integer
G Gets the value of the green ARGB channel of the color. Integer
B Gets the value of the blue ARGB channel of the color. Integer
A Gets the value of the alpha ARGB channel of the color. Integer