Constructor Color
Color()
Initializes a new instance of the Color class.
public Color()
Color(byte, byte, byte)
Initializes a new instance of the Color class with the specified parameters.
public Color(byte red, byte green, byte blue)
Parameters
red
byteRed component of the color.
green
byteGreen component of the color.
blue
byteBlue component of the color.
Color(byte, byte, byte, byte)
Initializes a new instance of the Color class with the specified parameters.
public Color(byte alpha, byte red, byte green, byte blue)
Parameters
alpha
byteAlpha component of the color.
red
byteRed component of the color.
green
byteGreen component of the color.
blue
byteBlue component of the color.
Color(ColorStruct)
Initializes a new instance of the Color class from the ColorStruct.
public Color(ColorStruct value)
Parameters
value
ColorStructColor specified using ColorStruct value.
Color(KnownColor)
Initializes a new instance of the Color class from the KnownColor.
public Color(KnownColor knownColor)
Parameters
knownColor
KnownColorColor specified using KnownColor value.
Color(KnownSystemColor)
Initializes a new instance of the Color class from the KnownSystemColor.
public Color(KnownSystemColor knownColor)
Parameters
knownColor
KnownSystemColorColor specified using KnownSystemColor value.