css property
Returns the CSS representation of the color.
Implementation
String get css => a == 1 ? 'rgb($r, $g, $b)' : 'rgba($r, $g, $b, $a)';
Returns the CSS representation of the color.
String get css => a == 1 ? 'rgb($r, $g, $b)' : 'rgba($r, $g, $b, $a)';