adds color attributes to map