Skip to content

Commit ab62a93

Browse files
add conversion between HSL/HSV/RGB demo
1 parent 0abf4ec commit ab62a93

File tree

4 files changed

+729
-93
lines changed

4 files changed

+729
-93
lines changed

app/src/main/java/com/smarttoolfactory/composecolorpicker/MainActivity.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ private fun HomeContent() {
8282
1 -> SaturationSelectorDemo()
8383
2 -> GradientAngleDemo()
8484
3 -> HSVHSLGradientDemo()
85-
else -> ColorfulSliderDemo()
85+
4 -> ColorfulSliderDemo()
86+
else -> ColorModeConversionDemo()
8687
}
8788
}
8889
}
@@ -93,5 +94,6 @@ internal val tabList =
9394
"Saturation Selector",
9495
"Gradient Angle",
9596
"HSV&HSL Gradients",
96-
"Colorful Sliders"
97+
"Colorful Sliders",
98+
"Color Mode Conversions"
9799
)

0 commit comments

Comments
 (0)