Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Windows developer