In getHexColorCode Vector was changed to HashMap