Dims the given color by multiplying its RGB channels by scalar.
color
Color dim(Color color) { return Color.argb(dimPacked(color.argb)); }