Tag Archives: saturation

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

Make a selection dialog that uses a color wheel in C#

The example Draw a color wheel with alpha and saturation values in C# lets the user select a color on a color wheel. This example uses that technique to build a color selection dialog. This change is fairly easy. First … Continue reading

Posted in drawing, graphics, image processing | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Draw a color wheel with alpha and saturation values in C#

The example Draw a colorful color wheel in C# shows how to draw a color wheel. This example lets you use scroll bars to change the alpha (opaqueness) and saturation (grayness) values of the colors. This is actually a pretty … Continue reading

Posted in drawing, graphics, image processing | Tagged , , , , , , , , , , , , , , | 1 Comment