It’s actually more complicated than that if you ca...
# android
d
It’s actually more complicated than that if you care about perceived brightness (you might to wander through different color spaces to solve that issue depending on specifics). I don’t know of a library for doing that though.