rgbString property

String get rgbString

Returns this as a string in rgb() or rgba() functional notation.

Implementation

String get rgbString => alpha == 1
    ? 'rgb($red,$green,$blue)'
    : 'rgba($red,$green,$blue,$_alphaString)';