Version

LuminanceModulation Property

Defines the luminance modulation for the associated WorkbookColorInfo instance, expressed as a fractional number.
Syntax
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: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also