Optimal landscape elevation based height gradient

Like this? Output is a solid color.