Does Compose have a method to compute contrast bet...
# compose
j
Does Compose have a method to compute contrast between 2 colors? Something similar to
ColorUtils.calculateContrast()
but I was looking for something not tied to the Android SDK.
1
a
There is no public method for this but you can copy the function from here.
🙏 1