included reference for densities to rgb