Initializes a new instance of
Color.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
public Color (
byte r,
byte g,
byte b,
byte a
)
Parameters
- r
- The red component of a color, between 0 and 255.
- g
- The green component of a color, between 0 and 255.
- b
- The blue component of a color, between 0 and 255.
- a
- The alpha component of a color, between 0 and 255.
Reference
Xbox 360, Windows XP SP2, Windows Vista, Zune