src/SyHolloway/MrColor/Extension/Formatter.php
public function load(Color $color, $value)
    {
        $value = strtolower(trim($value));

        $format = $this->guess($value);

        if (is_callable(__CLASS__ . '::' . $format)) {
            $this->$format($color, $value);
        }

        return $color;
    }
public function load(Color $color, $value)
    {
        $value = strtolower(trim($value));

        $format = $this->guess($value);

        if (is_callable(__CLASS__ . '::' . $format)) {
            $this->$format($color, $value);
        }

        return $color;
    }
public function load ( Color $ color , $ value ) { $ value = strtolower ( trim ( $ value ) ) ; $ format = $ this -> guess ( $ value ) ; if ( is_callable ( __CLASS__ . '::' . $ format ) ) { $ this -> $ format ( $ color , $ value ) ; } return $ color ; }
Pass a var in subject param and this method
will attempt to parse it into a color object
and return it

@param  object $color   Color object
@param  mixed  $subject
@return object Color object
Pass a var in subject param and this method will attempt to parse it into a color object and return it