I have noticed that my UI colors are not accurately displayed especially when using darker colors. It seems instead of displaying the exact color which is sent in the UI, it has some sort of rounding error which produces very noticable color banding.
Here is an image of 100 panels, each displaying rgb value (i, 0, 0), where i begins at 0 and increases to 100:
As you can see, the darker colors are completely wrong and display the same color for multiple different color values. This is not an artifact of the image, this is literally what it looks like ingame. Why is this and how can I have it display the correct colors?
UI Color Banding
I guess you could try using an image.
No I am trying to make a UI framework which uses offset colors to create a color scheme. A primary color is provided and the other colors are based on the original color with an offset to the rgb values. This bug causes the precision of the colors to be so wrong, that even blue can turn to green. It looks like the rust client is rounding the color values to two decimal places to cause this level of innacuracy.