Share via


LampArrayColorRampEffect.Color Property

Definition

Gets or sets the color of peak intensity for the effect.

public:
 property Color Color { Color get(); void set(Color value); };
Color Color();

void Color(Color value);
public Color Color { get; set; }
var color = lampArrayColorRampEffect.color;
lampArrayColorRampEffect.color = color;
Public Property Color As Color

Property Value

Color value of the peak intensity for the effect.

Default is Black

Examples

LampArray sample

Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.

AutoRGB Sample

Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.

Remarks

After you've appended (see Append) an effect to a LampArrayEffectPlaylist, the value of this property is locked, and you can no longer change it.

Applies to

See also