ControlPaint.LightLight Method (Color)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Creates a new light color object for the control from the specified color.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public static Color LightLight(
	Color baseColor


Type: System.Drawing.Color

The Color to be lightened.

Return Value

Type: System.Drawing.Color

A Color that represents the light color on the control.

If the specified Color is one of the SystemColors, the color is converted to the SystemColors.ControlLightLight color; otherwise, the color's luminosity value is increased.

.NET Framework
Available since 1.1
Return to top