getColor method

Color getColor()

Implementation

Color getColor() {
  assert(type == CSSPaintType.color);
  return color!;
}