Ok Hsv Color Picker
fun OkHsvColorPicker(color: Color, onColorChanged: (Color) -> Unit, modifier: Modifier = Modifier, showPreview: Boolean = true, hapticEffect: SliderDefaults.SliderHapticEffect = SliderDefaults.DefaultHapticEffect)
A OkHsvColorPicker component with Miuix style using OkHSV color space based on OkLab. OkHSV provides better perceptual uniformity than traditional HSV.
Parameters
color
The color of the picker.
on Color Changed
The callback to be called when the color changes.
modifier
The modifier to be applied to the color picker.
show Preview
Whether to show a preview of the selected color.
haptic Effect
The haptic effect of the ColorSlider.