dim method

Color dim(
  1. Color color
)

Dims the given color by multiplying its RGB channels by scalar.

Implementation

Color dim(Color color) {
  return Color.argb(dimPacked(color.argb));
}