Features
- Color Preview: Shows a visual preview of the selected color
- Hex Value Display: Displays the hex code of the selected color
- Native Color Picker: Uses the browser's native color picker for selection
- Reset Option: Includes a button to clear the selected color
- Alpha Support: Optional opacity/transparency control via dropdown slider
Alpha support
- The value is automatically converted to rgba(r, g, b, a) format
- An opacity icon appears in the input suffix
- Clicking the icon opens a dropdown with a slider (0-100% opacity)
- The color preview shows transparency
- The display text shows RGBA values