I have a table / chart. And I add a series for them. Each series is identified by color.
I am looking for how to choose the best color for the series that I am adding to my series.
The goal is to have the next best color, depending on the colors already used. Since I can add / remove a series, I cannot just have an array of colors and take the next one on the list.
I heard that there was some kind of MS manual for this (found only this equivalent for excel )
Any idea / link / method for this?
EDIT: Found this one that provides interesting information about color contrast
EDIT2: I tried using the "Color Hue wheel": I only divide the wheel by the number of colors I need, and I take the color at the beginning of the position. I also included an offset method if we wanted to start with a different color.
It works, I have different colors, but I get the impression that we can do better. For instance. With an offset of 210 Β°, 6 colors, I have these colors:
I think this is just an optical illusion, but the last two colors seem closer than the others. The problem is that I have to deal with the user's eye.
The whole "shade" looks like this:
With the eye, we can see that there is some kind of color that looks like something more than another (for example, blue). For me, green seems to be more yellow ...
It seems like there is a concept of color perceived linear colors , do you know if there is an algorithm that allows me to get a perceptually linear color matrix? Then it will be easy to take the colors I need
source share