Package-level declarations

Functions

Link copied to clipboard
fun BlendColorPicker(modifier: Modifier = Modifier, onColorSelected: (selectedColor: Color) -> Unit)

A composable function that creates a color picker UI to select color by selecting two colors and blend. This component contains two color spectrum(s) to select first and second color to blend and one slider, that consumer can change how blended color bias to first or second color. By selecting first and second color then by adjusting color bias value, consumer can select or generate their desired color.

Link copied to clipboard
fun GridColorPicker(modifier: Modifier = Modifier, lastSelectedColor: Color = Color.White, onColorSelected: (selectedColor: Color) -> Unit)

A composable function that creates a grid to select colors. This color grid is created with 16 predefined major colors and those color's 10 color variances.

Link copied to clipboard
fun HSLAColorPicker(modifier: Modifier = Modifier, lastSelectedColor: Color = Color.White, onColorSelected: (selectedColor: Color) -> Unit)

A composable function that creates a color picker UI for selecting HSL-A properties to get color. This component contain one color spectrum, that consumer can drag and select their color. Using the other three sliders, consumer can change the selected color's saturation, lightness and alpha values. By adjusting these values, consumer can select or generate their desired color.

Link copied to clipboard
fun RGBAColorPicker(modifier: Modifier = Modifier, lastSelectedColor: Color = Color.White, onColorSelected: (selectedColor: Color) -> Unit)

A composable function that creates a color picker UI for selecting RGB-A colors. This component contain 3 sliders for adjusting the red, green, and blue values of the color and another slider to adjust the alpha value. By adjusting these values, consumer can select or generate your desired color.