Shadows-of-Fire / PackMenu

Tool for editing the main menu in modpacks.
MIT License
15 stars 10 forks source link

[Suggestion] Better documentation regarding color #10

Closed 0x0079 closed 4 years ago

0x0079 commented 4 years ago

In the existing wiki it mentions a "converted hex color integer". I think this should be better explained as I spent 10-20 minutes trying to find out (and I still don't know) and had to edit the color value in the config by guessing.

If possible, I also think a more fully-featured wiki and documentation should be written that includes examples, instructions to change splash text, color explanations, etc.

TKFRvisionOfficial commented 4 years ago

Hey! I cant help you with your documentation problem but I figured the color problem out.

So what you want to do is figuring out what the hex value from your color is. For example white is 0xffffff Now you got to convert that to decimal (0xffffff --> 16777215) Finally you got to define this as a string for example "fontColor": "16777215"

Hope it helps bro...

0x0079 commented 4 years ago

Did you do that with just a hex to decimal converter? Because when I tried that it would never produce the right color ingame.

TKFRvisionOfficial commented 4 years ago

Yeah...nothing special just typed "0xffffff in decimal" into google and used the google calculator... image