Hi guys! I'm facing an issue with Color with 66 al...
# compose-android
a
Hi guys! I'm facing an issue with Color with 66 alpha value on my Hex, sharing the example on thread
Screenshot 2023-05-05 at 15.45.25.png
c
And wants the issue?
a
but the color applied is different
it is very simple, so I do know if I'm missing something
f
if your color is translucent it will pick whatever tint there is underneath (dark grey in this case)
a
hmm yeah, thanks @Francesc
c
When looking at things in Preview, keep in mind how it works with showBackground, MaterialTheme (or similar), and Surface: https://kotlinlang.slack.com/archives/C04TPPEQKEJ/p1683230596040239?thread_ts=1683052562.837869&cid=C04TPPEQKEJ