Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High contrast visualisation color palette #18041

Open
hassanfarid opened this issue Jul 10, 2019 · 10 comments
Open

High contrast visualisation color palette #18041

hassanfarid opened this issue Jul 10, 2019 · 10 comments

Comments

@hassanfarid
Copy link
Contributor

Environment:

  • Grafana version: v6.2

I received this request from one of my internal team members, where we use Grafana.

I was looking at grafana dashboards recently and having a lot of difficulty reading the graphs because I have a mild form of red / green color blindness (deuteranomaly, rather than deuteranopia). Basically, when I look at the graphs, all the lines look the same. If it’s not much trouble, for a future update, would you consider adding the option to change the colors?

If you don’t want to add a whole color choosing option, there’s a short set of rules you can use to choose color palettes for people with color problems. I think I can remember them pretty well:
1.	Make palettes available that are:
a.	Blue or violet alongside red, with yellow or a bright orange
b.	Red alongside green (which you already have, for a rare form of color blindness)
2.	Use different saturations and brightnesses for different data. This lets users with even complete color blindness to distinguish differences between the data based on color value.
3.	Using patterns is helpful if that’s an option.

Thanks for considering my request!

Can we have grafana theme that make lives of people easier while using grafana? I am not an expert and this field, but I can certainly arrange with some of the people I know to contribute to this topic with information about, what will be helpful to build this. Like what color and pattern strategy can be helpful.

I certainly see that series color can be customized, but how to set default series colors that will work for these scenarios?

@torkelo
Copy link
Member

torkelo commented Jul 10, 2019

You can change the colors for each series using the color picker

For Graphs I am not sure what the solution is for this, we could have a color blind mode and ignore all user defined colors and only use colors that have good contrast for the semi color blind

@hassanfarid
Copy link
Contributor Author

@torkelo - Having color blind mode sounds like a scale-able plan. The objective is to make it enjoyable experience for all users really.

Will this require adding another theme along with light and dark mode?

@torkelo
Copy link
Member

torkelo commented Jul 10, 2019

I don’t think we can have a default theme that accommodates both, Grafana is at its fundamentals a colorful and graphic tool, where a vibrant look is important

@hassanfarid
Copy link
Contributor Author

@torkelo - we don't have to make it default theme. But can we make it as available theme / mode so that can set it as their personal default theme under user preferences?

image

The impact of choosing this theme / mode will effect the colors scheme shown in all graphs and dashboard. Somehow overriding the colors selected for normal user case.

@ryantxu
Copy link
Member

ryantxu commented Jul 10, 2019

We could add a 'high contrast' theme, that would solve some of the problem, but for better accessibility the graph editors need to make good choices about what to show. In particular graphs with many series colors are difficult to understand.

See:
https://material.io/design/communication/data-visualization.html#style

image

image

Also good to keep in mind:
https://material.io/design/usability/accessibility.html#color-contrast

@ryantxu ryantxu changed the title Grafana theme for color blinds High contrast theme for color blinds Jul 10, 2019
@ryantxu ryantxu added the type/accessibility Accessibility problem / enhancement label Jul 10, 2019
@ryantxu
Copy link
Member

ryantxu commented Jul 10, 2019

See also #13014

@stale
Copy link

stale bot commented Dec 2, 2019

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Issue with no recent activity label Dec 2, 2019
@hassanfarid
Copy link
Contributor Author

Has there any development on this request? Is it possible to support this as theme option, which will override page background color and graph points to high contrast values?

@Routhinator
Copy link

@torkelo

You can change the colors for each series using the color picker

So the problem with this, and how I ended up here - is Heatmaps. You cannot pick colours - and NONE of the many schemes available are red-green colour blind friendly.

Red-Green colour blindness does best with Blue and Orange. The closest we can get to this in Heatmaps right now is Purple/Orange, and Purple is not great due to it containing red - plus the exact shades/hues chosen by the Grafana team are not great.

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

Absolutely still relevant until the above problem is addressed.

@yaakovfeldman
Copy link

Colour blindness affects perhaps 5% of people, and most find it hard to distinguish the red and green series. This could be 90% solved by #17092 and allowing a choice of palettes. There are many well known excellent safe choices in the data visualisation community for both discrete and continuous data eg viridis.

@joshhunt joshhunt changed the title High contrast theme for color blinds High contrast theme Mar 15, 2024
@joshhunt joshhunt changed the title High contrast theme High contrast visualisation color palette Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants