프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Hue | int | ||
Luminance | float | ||
Saturation | float |
메소드 | 설명 | |
---|---|---|
FromRGB ( |
Convert from RGB to HSL color space.
|
|
FromRGB ( |
Convert from RGB to HSL color space. See HSL and HSV Wiki for information about the algorithm to convert from RGB to HSL. |
|
HSL ( ) : System |
Initializes a new instance of the HSL class.
|
|
HSL ( int hue, float saturation, float luminance ) : System |
Initializes a new instance of the HSL class.
|
|
ToRGB ( ) : |
Convert the color to RGB color space.
|
|
ToRGB ( |
Convert from HSL to RGB color space.
|
메소드 | 설명 | |
---|---|---|
Hue_2_RGB ( float v1, float v2, float vH ) : float |
public static FromRGB ( |
||
rgb | Source color in RGB color space. | |
리턴 |
public static FromRGB ( |
||
rgb | Source color in RGB color space. | |
hsl | Destination color in HSL color space. | |
리턴 | void |
public HSL ( int hue, float saturation, float luminance ) : System | ||
hue | int | Hue component. |
saturation | float | Saturation component. |
luminance | float | Luminance component. |
리턴 | System |
public static ToRGB ( |
||
hsl | Source color in HSL color space. | |
rgb | Destination color in RGB color space. | |
리턴 | void |