The color hex in the tooltip is unreadable for dark colors
aaronhowser1 opened this issue · 3 comments
Well that's the actual color that's getting used by the effect. Usually mods that just use black don't intend for the color to be viewed and judging by those icons I'm guessing that that is the case. I've set it so hidden technical effects like those will no longer show up at all and will be completely ignored
Oh I already had a Color util class that did that here
Thing is I'm only using it to change the Color in the JEI page as I wanted this to be the one in the tooltip to be the exact one used in the effect. Guess I'll close this
You can simply brighten the color when it’s too dark, this is how I do it in Stylish Effects (feel free to copy the class): https://github.com/Fuzss/stylisheffects/blob/1.19/Common/src/main/java/fuzs/stylisheffects/client/util/ColorUtil.java