cssText method
Implementation
String cssText() {
if (value.a < 1) {
return 'rgba(${_colorByte(value.r)}, ${_colorByte(value.g)}, ${_colorByte(value.b)}, ${value.a.cssText()})';
} else {
return 'rgb(${_colorByte(value.r)}, ${_colorByte(value.g)}, ${_colorByte(value.b)})';
}
}