Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1021 Bytes

File metadata and controls

24 lines (18 loc) · 1021 Bytes
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
PowerToys
Windows
Insider

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.