Edit

ColorHelpers Class

Definition

Namespace: Microsoft.CommandPalette.Extensions.Toolkit

The ColorHelpers class provides static methods for creating colors in the Command Palette SDK. It is used to create colors that can be used in various UI elements, such as command items and icons.

Methods

Method Description
FromArgb(Byte, Byte, Byte, Byte) Creates a color from the specified ARGB values.
FromRgb(Byte, Byte, Byte) Creates a color from the specified RGB values.
NoColor() Creates a color that represents no color.
Transparent() Creates a color that represents transparency.