Example of Default Functionalities in Blazor Color Picker Component
This sample demonstrates the default functionalities of the ColorPicker with default colors and predefined styles.
Choose a color
The ColorPicker
is a user interface to select and adjust color values. This supports various color specifications like RGB(Red Green Blue), HSV (Hue Saturation Value), and Hex codes.
In this sample, the ColorPicker popup contains picker area, slider to adjust hue and opacity value, input text area, and control buttons.
- Drag the handle in the picker area to select your favorite color.
- You can manually set the color by typing the color values in the input text boxes.
- By clicking the format switching icon at the right side of the input text area, switch between RGB and HSV color value format.
- By clicking the mode switching icon at the left bottom of the popup, switch between picker and palette type.
- Using the Value property, set the color value to picker and palette initially.
In mobile mode, the popup opens at the center of the viewport.
More information about Blazor ColorPicker component can be found in this documentation section.