Improved cursor-layer colour scheme

Relates rgb values of pointer colours to z value of pointer.