apply colors to lines and points as well