fixed hex to rgb conversion in gui