Always had problems with using colors from Figma i...
# compose
a
Always had problems with using colors from Figma in Android (can't remember how to convert them), so I made a tool that converts colors (hex, rgb) to Android Ints and Compose https://www.composables.com/colorconverter
❤️ 5
e
err, wat?
a
oops. looking into it
@ephemient just pushed a fix. can you try again?
c
FWIW the color picker in Android Studio allows you to enter alpha as a percentage instead of hex, which was one of the bigger pain points we found with designer handoff
Additionally it allows you to change RGB to HSB since sometimes designers hand off colors that way as well. Either way, the hex conversion is done for you with the picker.
c
entering the alpha in AndroidStudio doesn't work for percentages less than 10 — which always seems to happen. i guess i should file a bug
c
Hmm doesn’t seem to repro at least in Hedgehog C13. If you can repro it, please file a bug and we’ll investigate
c
Yep. I can repro in latest. will file now
c
Can repro now! Fun bug…
c
Ayyy