color inheritance implemented