Color Methods

The Color type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified color object equals this object. (Overrides ValueType.Equals(Object).)
Public method Equals(Color) Determines whether the specified color equals this object.
Public method Static member FromNonPremultiplied Converts a non-premultipled alpha color to a color that contains premultiplied alpha.
Public method GetHashCode Gets the hash code for this object. (Overrides ValueType.GetHashCode().)
Public method Static member Lerp Linearly interpolate a color.
Public method Static member Multiply Multiply each color component by the scale factor.
Public method ToString Gets a string representation of this object. (Overrides ValueType.ToString().)

  Name Description
Public Extension Method ToVector3 Converts the specified color into a Vector3. (Defined by ColorExtensions.)
Public Extension Method ToVector4 Converts the specified color into a Vector4. (Defined by ColorExtensions.)

Community Additions