Skip to content

Releases: aeccue/chroma

Release list

Version 1.0

Choose a tag to compare

@aeccue aeccue released this 24 Sep 19:14
v1.0
d3ecf8d

Chroma Picker

A simple Jetpack Compose component for picking a color.

You can add the component to a composable simply by using ChromaPicker composable function as the following example below:

ChromaPicker(
    initialColor = Color(0xFF0047AB),
    style = ChromaPickerStyle(
        textStyles = ChromaPickerStyle.TextStyles(LocalTextStyle.current)
    )
) { newColor ->
  // use the selected color
}

The styling of the color picker can be changed with ChromaPickerStyle.