public function getColor($uuid)
    {
        foreach ($this->colors as $color) {
            if ($color->getUuid() === $uuid) {
                return $color;
            }
        }
    }
public function getColor($uuid)
    {
        foreach ($this->colors as $color) {
            if ($color->getUuid() === $uuid) {
                return $color;
            }
        }
    }
public function getColor ( $ uuid ) { foreach ( $ this -> colors as $ color ) { if ( $ color -> getUuid ( ) === $ uuid ) { return $ color ; } } }
Retrieves a color by its uuid.

@param $uuid

@return Color
Retrieves a color by its uuid .