Hi! My mod allows players to change their character on the fly. I want to update the color of players' preview characters in my GUI and in my stored data if they change the color of their character. Since Factorio 1.1.83 (really working since 1.1.85), we've got the event on_entity_color_changed. However, it will only be raised if the color of an entity is changed -- not for players. While you could raise that event by changing player.character.color in addition to player.color, this would only work iff the player actually had a character, which isn't the case if the player is in editor or god mode etc.
Would you mind adding another custom event that you'd raise whenever you change player.color?