added colors to details html