Gives cursor coords and changes color based on them.