Color Structure
This page is specific to:.NET Framework Version:
.NET Framework Class Library
Color Structure

Represents an ARGB color.

For a list of all members of this type, see Color Members.

System.Object
   System.ValueType
      System.Drawing.Color

[Visual Basic]
<Serializable>
<ComVisible(True)>
Public Structure Color
[C#]
[Serializable]
[ComVisible(true)]
public struct Color
[C++]
[Serializable]
[ComVisible(true)]
public __value struct Color

[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: System.Drawing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Drawing (in System.Drawing.dll)

See Also

Color Members | System.Drawing Namespace

© 2010 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View