Version

LuminanceModulation Property

Defines the luminance modulation for the associated WorkbookColorInfo instance, expressed as a fractional number.
Syntax
'Declaration
 
Public ReadOnly Property LuminanceModulation As Nullable(Of Double)
public Nullable<double> LuminanceModulation {get;}
Remarks

Luminance is also referred to as brightness.

This property specifies the amount by which the luminance of the associated base color is increased. For example, a value of .5 yields a 50% reduction in luminance. A value of 1.0 implies no change in luminance. A value greater than 1.0 implies an increase in luminance; for example, a value of 2.0 doubles the luminance.

Assigning a value of null to this property implies that the associated color has no specific luminance modulation.

Luminance modulation is applied by converting the base color from RGB to HSL, then multiplying the luminance channel by the value of this property, then converting back to RGB.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also