changed color to RGB map for data storage