ConversionExtensions
Static Class in Zigurous.ColorPro
Declaration
public static class ConversionExtensionsDescription
Extension methods for converting colors to different color models.
Extension Methods
| To<T> | Converts the color to a specified component model. |
| ToColor<T> | Converts the components to a color with a specified alpha. |
| ToRGB | Converts the color to RGB (red, green, blue) components in the range [0..1]. |
| ToRGB255 | Converts the color to RGB (red, green, blue) components in the range [0..255]. |
| ToRGBA | Converts the color to RGBA (red, green, blue, alpha) components in the range [0..1]. |
| ToRGBA255 | Converts the color to RGBA (red, green, blue, alpha) components in the range [0..255]. |
| ToARGB | Converts the color to ARGB (alpha, red, green, blue) components in the range [0..1]. |
| ToARGB255 | Converts the color to ARGB (alpha, red, green, blue) components in the range [0..255]. |
| ToCMYK | Converts the color to CMYK (cyan, magenta, yellow, black) components in the range [0..1]. |
| ToHSB | Converts the color to HSB (hue, saturation, brightness) components in the range [0..1]. |
| ToHSI | Converts the color to HSI (hue, saturation, intensity) components in the range [0..1]. |
| ToHSL | Converts the color to HSL (hue, saturation, lightness) components in the range [0..1]. |
| ToHSV | Converts the color to HSV (hue, saturation, value) components in the range [0..1]. |
| ToLMS | Converts the color to LMS components. |
| ToHunterLab | Converts the color to Hunter Lab components. |
| ToLab | Converts the color to CIE LAB components. |
| ToLuv | Converts the color to CIE LUV components. |
| ToLCh_ab | Converts the color to CIE LCh(ab) components. |
| ToLCh_uv | Converts the color to CIE LCh(uv) components. |
| ToUCS | Converts the color to CIE UCS components. |
| ToUVW | Converts the color to CIE UVW components. |
| ToxyY | Converts the color to CIE xyY components. |
| ToXYZ | Converts the color to CIE XYZ components. |
| ToYCbCr | Converts the color to Y′CbCr components. |
| ToYPbPr | Converts the color to Y′PbPr components. |
| ToYIQ | Converts the color to Y′IQ components. |
| ToYUV | Converts the color to Y′UV components. |