color assignment