htop icon indicating copy to clipboard operation
htop copied to clipboard

Memory bar colors are difficult for color-blind people to see

Open mikehearn opened this issue 3 years ago • 6 comments

The memory bar is a bit hard to interpret because the choice of (???) green/yellow? is quite hard to understand. Fortunately there's a blue divider, or at least I think it's meant to be a divider, but it'd be better to use colors that are easier for people like us to tell apart. Stronger/bolder colors are easier, e.g. blue / yellow / red are easier to separate, and using wider bars would also make it easier as there's more pixels to help differentiate.

mikehearn avatar Dec 27 '21 10:12 mikehearn

The colors used in hhtop are based on the colors provided by the your terminal emulator.

The Memory meter uses green for used memory, dark blue for I/O buffers, magenta for shared memory and brown (dark yellow) for file system cache. Unfortunately there's little that can be done in htop as the set of available console colors is quite limited.

BenBE avatar Dec 27 '21 15:12 BenBE

@mikehearn Did you try the monochrome color scheme before reporting this? The point is, we are not sure how htop can improve regarding the use case for colorblind people. Htop has a monochrome mode. Is that not enough for colorblind people?

Explorer09 avatar Jan 03 '22 10:01 Explorer09

Monochrome mode is of course much easier to read, but correspondingly uglier.

Fully understand that there's a limited selection of colors and it's up to me to customize my profile. Have you maybe considered using a full width bar rather than the thin stripes? Generally, colours are easier to see and distinguish in larger blocks.

mikehearn avatar Jan 13 '22 14:01 mikehearn

@mikehearn What do you mean by a "full width bar"? It might be better to explain it in a picture.

Explorer09 avatar Jan 13 '22 16:01 Explorer09

█ instead of ▏

mikehearn avatar Jan 13 '22 16:01 mikehearn

@mikehearn That filled block character isn't part of ASCII, so htop would be unlikely adopt your proposal. And I don't think it would help colorblind people much.

Explorer09 avatar Jan 13 '22 16:01 Explorer09