Tag Archives: convert between color models

Use scrollbars to select RGB and HLS colors in C#

The example Convert between RGB and HLS color models in C# explains how to convert between the RGB and HLS color models. This example uses similar code to let the user manipulate scroll bars to select colors using either model. … Continue reading

Posted in algorithms, controls, graphics, image processing | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

Convert between RGB and HLS color models in C#

C# uses uses RGB (red, green, and blue) component values to specify colors where each component value is between 0 and 255. The HLS system uses the values hue, lightness, and saturation where: Hue determines the color with a 0 … Continue reading

Posted in algorithms, graphics, image processing | Tagged , , , , , , , , , , , , , , , , , | 2 Comments