Page 1 of 1

[15.6] Character colour does not match text colour

Posted: Thu May 04, 2017 3:33 pm
by Dupl3xxx
When using the /color [0-255] [0-255] [0-255] [0-255] or /color [name of colour] some values don't give the expected results. The text colour when you write in the chat will be fairly accurate, but the character colours will not. Many blue colours will result in a light-pink character, and white gives a pale yellow. It seems the 'base orange' is always there, interfering with the colour of the player model. See attached screenshots for examples:

Re: [15.6] Character colour does not match text colour

Posted: Thu May 04, 2017 4:26 pm
by posila
Thanks for the report.
This is not a bug, but based on this, I changed color parsing to default alpha (the 4th) component to 255 if not specified. So color command should be used mainly as /color r g b
If you want to read some boring math we wrote a FFF article about premultiplied alpha