Click or drag to resize
ColorUtilities Methods

The ColorUtilities type exposes the following members.

Methods
  NameDescription
Public methodStatic memberByteArrayToHexString
Converts the given byte array to a color in the format #AARRGGBB.
Public methodStatic memberColorFromString
Colors from string.
Public methodStatic memberColorToString
Converts the specified color to a format #AARRGGBB. Use the ColorToString(Color) to convert a string back to a color.
Public methodStatic memberFromAngle
Creates a color from an angle.
Public methodStatic memberFromArgb
Returns brush from ARGB values.
Public methodStatic memberFromHsl
Returns a color based on its HSL value.
Public methodStatic memberHexStringFromSolidColor
Public methodStatic memberHexStringToByteArray
Converts the #AARRGGBB string color to a byte array.
Public methodStatic memberMultiply
Multiplies/scales the specified color.
Public methodStatic memberParse(Int32)
Parses the specified value and converts it to a color.
Public methodStatic memberParse(String)
Parses the specified color string (e.g. '#FF4B4578').
Public methodStatic memberParseToBrush
Parses to brush.
Public methodStatic memberRgbToHsl
Given a Color (RGB Struct) in range of 0-255 Return H,S,L in the range [0,1].
Public methodStatic memberStringToColor
Converts the specified string value to Color.
Public methodStatic memberSum
Adds the two given colors.
Public methodStatic memberToValue
Returns the unsigned integer value of the color.
Top
See Also