| title | ColorHelpers Class | |||
|---|---|---|---|---|
| description | The ColorHelpers class provides static methods for creating colors in the Command Palette SDK. | |||
| ms.date | 2/19/2025 | |||
| ms.topic | reference | |||
| no-loc |
|
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.
| 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. |