added rgb value to the points