Color interview question

practical stuff, more focus on object oriented programming