added getColor() in Figure