Since chat color is now edited for better contrast it's no longer possible to print chat messages in the player color via lua. I tried default/red/green and they all produce different color output.
As i'd also like to show the player name in custom GUIs it would be nice to have access to the "corrected" color, either via player.high_contrast_color or via exposing the correction in e.g. util.fix_chat_color.