Fix slave_color format for colors < 100000