Added better color selection for blocks