created partial for colour bar