protected function assertChannelValue($value, $channel)
    {
        if (!$this->isValidChannelValue($value, $channel)) {
            throw new \InvalidArgumentException(
            sprintf('Invalid Value "%s" For The %s Channel'
                    , $value, ucfirst($value))
            );
        }

        return $this;
    }
protected function assertChannelValue($value, $channel)
    {
        if (!$this->isValidChannelValue($value, $channel)) {
            throw new \InvalidArgumentException(
            sprintf('Invalid Value "%s" For The %s Channel'
                    , $value, ucfirst($value))
            );
        }

        return $this;
    }
protected function assertChannelValue ( $ value , $ channel ) { if ( ! $ this -> isValidChannelValue ( $ value , $ channel ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Invalid Value "%s" For The %s Channel' , $ value , ucfirst ( $ value ) ) ) ; } return $ this ; }
Assert that the given value for the given channel name is valid

@param integer $value
@param string  $channel

@return \Jaguar\Color\RGBColor
@throws \InvalidArgumentException
Assert that the given value for the given channel name is valid