withAlpha method

LABColor withAlpha(
  1. double alpha
)

Returns a copy of this color with the alpha parameter replaced with the given value.

Implementation

LABColor withAlpha(double alpha) => LABColor.fromALAB(alpha, l, a, b);