public function removeColor(Color $color)
    {
        if ($this->colors->contains($color)) {
            $this->colors->removeElement($color);
        }
    }
public function removeColor(Color $color)
    {
        if ($this->colors->contains($color)) {
            $this->colors->removeElement($color);
        }
    }
public function removeColor ( Color $ color ) { if ( $ this -> colors -> contains ( $ color ) ) { $ this -> colors -> removeElement ( $ color ) ; } }
Removes a color.

@param Color $color
Removes a color .