Coloring

* fixed colorbug
* changed colors and implemented  different color for different types