Class ColorFunctions

Helper extension methods for converting color to hex values. Borrowed from http://stackoverflow.com/questions/982028/convert-net-color-objects-to-hex-codes-and-back

System.Object
  Stonefield.Library.ColorFunctions
public static class ColorFunctions : object

Class Members

MemberDescription

FromHtmlHexadecimal

Converts from an HTML hex color to a Color.

public static Color FromHtmlHexadecimal(string colorString)

ToHtmlHexadecimal

Converts a color to its HTML hex equivalent.

public static string ToHtmlHexadecimal(Color color)

Requirements

Namespace: Stonefield.Library
Assembly: library.dll