Share via


Color Structure

Represents a four-component color using red, green, blue, and alpha data.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

[TypeConverterAttribute(Microsoft.Xna.Framework.Design.ColorConverter, Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff)]
[SerializableAttribute]
public struct Color : IPackedVector<uint>, IPackedVector, IEquatable<Color>

See Also

Reference

Color Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone