Change beach ball color based on depth

Is it possible? I was able to do it with figure.plot(). Thanks!