changeAlpha method

SassColor changeAlpha(
  1. num alpha
)

Returns a new copy of this color with the alpha channel set to alpha.

Implementation

SassColor changeAlpha(num alpha) => SassColor.forSpaceInternal(
    space, channel0, channel1, channel2, alpha.toDouble());