Creates a new Color structure by using the specified ScRGB alpha channel and color channel values.
public static Color FromScRgb(
The ScRGB alpha channel, ScA, of the new color.
The ScRGB red channel, ScR, of the new color.
The ScRGB green channel, ScG, of the new color.
The ScRGB blue channel, ScB, of the new color.
The alpha channel of a color determines the amount of transparency of the color. An alpha value of 1 indicates that the color is completely opaque, and a value of 0 indicates that the color is completely transparent.
private Color FromScRgbExample()
// Create a blue color using the FromScRgb static method.
Color myScRgbColor = new Color();
myScRgbColor = Color.FromScRgb(1, 0, 0, 1);