hexyl
A command-line hex viewer
...If you run Debian Buster or newer, you can also install the officially maintained Debian package. Check out the release page for binary builds. Alternatively, install from source via cargo (see below). Make sure that you use a terminal that supports ANSI escape sequences (like ConHost v2 since Windows 10 1703 or Windows Terminal since Windows 10 1903).