Format pattern for binary and hex display values

Thanks! Those will be useful on occasion, saving some Python scripting.