using LeafColor class to define colors in objects