Objects' color can be set in the constructor.