Skip to main content

ColorPicker

Description​

Use ColorPicker for choosing a color from a saturation/value spectrum with a hue slider, alpha, RGB/HSV channel text input, and hex input.

ColorPicker in light mode ColorPicker in dark mode

Example usage​

<fluence:ColorPicker Color="Red" />

Key properties​

PropertyDefaultPurpose
ColorRedCurrent color.
PreviousColornullOptional previous color for comparison.
IsAlphaEnabledfalseEnables alpha editing.
IsColorSpectrumVisibletrueShows the color spectrum.
IsHexInputVisibletrueShows the hexadecimal field.

State and behavior​

Spectrum, hue, alpha, channel, and hex input update Color and raise ColorChanged.

Additional behavior​

ColorPicker's Hex field omits the character counter while retaining its RGB/ARGB input-length limit. Its RGB, HSV, and alpha fields keep their existing counters.

Events​

ColorChanged reports a change to the selected color.

See text input focus and selection for the shared WPF editor behavior.

Reference​