plan to store colors in properties, can be improved?