withTransparency method

Color withTransparency(
  1. double a
)

Implementation

Color withTransparency(double a) {
  return Color(r: r, g: g, b: b, a: a);
}