your hex editor should color-code bytes

86 points by smlckz


drudru

Also - you might want to look at hiew (1991). It has colors and it even does edits.

Here is an introduction to it: https://lock.cmpxchg8b.com/hiew.html

roryokane

Hex Fiend (an open source GUI for macOS) supports this, too. You can select a color theme in the View > Byte Theme menu if you’re on macOS 12 or later.

Hex Fiend supports defining custom color themes with a JSON5 config file. You can assign colors to the hardcoded categories “whitespace”, “printable”, “null”, “extended”, and “other”, as used in the default themes, or you can assign colors to arbitrary predicates that use NSPredicate format strings. I think you could reproduce alice pellerin’s 18 total groups with config like {light: {"null": 0x808080, "b >= 1 AND b < 16": 0xe95c91, …}, dark: {…}}.

I was the one who requested the feature in Hex Fiend, which I did in 2019 after I saw Hexyl. The maintainer implemented it in 2023.