https://kotlinlang.org logo
Title
a

Arilson José de Oliveira Júnior

05/05/2023, 6:44 PM
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

Chrimaeon

05/05/2023, 6:48 PM
And wants the issue?
a

Arilson José de Oliveira Júnior

05/05/2023, 6:52 PM
but the color applied is different
it is very simple, so I do know if I'm missing something
f

Francesc

05/05/2023, 6:53 PM
if your color is translucent it will pick whatever tint there is underneath (dark grey in this case)
a

Arilson José de Oliveira Júnior

05/05/2023, 6:58 PM
hmm yeah, thanks @Francesc
c

Chris Sinco [G]

05/05/2023, 11:26 PM
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