The RgbColor type exposes the following members.

Constructors

  NameDescription
RgbColor
Initializes a new instance of the RgbColor class.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Overrides Object..::.Equals(Object).)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FromColor
Creates from a given color.
FromHsbColor
Creates from a given color.
FromHslColor
Creates from a given color.
FromRgbColor
Creates from a given color.
GetHashCode
Serves as a hash function for a particular type.
(Overrides Object..::.GetHashCode()()().)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToColor
Returns the underlying .NET color.
ToHsbColor
Returns a HSB color.
ToHslColor
Returns a HSL color.
ToRgbColor
Returns a RGB color.
ToString
Returns a String that represents the current Object.
(Overrides Object..::.ToString()()().)

Properties

  NameDescription
Blue
Gets or sets the blue component. Values from 0 to 255.
Green
Gets or sets the green component. Values from 0 to 255.
Red
Gets or sets the red component. Values from 0 to 255.

See Also