You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ColorPicker with `SelectorRingHue` hue selector and `SelectorRectSaturationLightnessHSL` saturation lightness Selector that uses [HSL](https://en.wikipedia.org/wiki/HSL_and_HSV) color model as base.
50
+
This color picker has tabs section that can be changed between HSL, HSV and RGB color models and color can be set using `CompositeSliderPanel` which contains sliders for each color models.
51
+
52
+
***initialColor** color that is passed to this picker initially.
53
+
***ringOuterRadiusFraction** outer radius of `SelectorRingHue`.
54
+
***ringInnerRadiusFraction** inner radius of `SelectorRingHue`.
55
+
***ringBackgroundColor** background from center to inner radius of `SelectorRingHue`.
56
+
***ringBorderStrokeColor** stroke color for drawing borders around inner or outer radius.
57
+
***ringBorderStrokeWidth** stroke width of borders.
58
+
***selectionRadius radius** of white and black circle selector.
59
+
***onColorChange** callback that is triggered when `Color` is changed using `SelectorRingHue``SelectorDiamondSaturationLightnessHSL` or `CompositeSliderPanel`
60
+
61
+
#### Implementation for other Color Pickers
62
+
```
63
+
ColorPickerCircleValueHSV(
64
+
modifier: Modifier = Modifier,
65
+
selectionRadius: Dp = 8.dp,
66
+
initialColor: Color,
67
+
onColorChange: (Color) -> Unit
68
+
)
69
+
```
70
+
***selectionRadius radius** of white and black circle selector.
71
+
***initialColor** color that is passed to this picker initially.
72
+
***onColorChange** callback that is triggered when `Color` is changed
0 commit comments