[Fixes #294,#333] patch: index unique cdata into colormap and retrieve color

Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>