if not gui set number of colors to 256