color_id->color_def changes in p2ptrade