src/SyHolloway/MrColor/Extension/Formatter.php
public function getRgbaHexString(Color $color)
    {
        $alpha = dechex(255 * $color->alpha);
        return '#' . $color->hex . $alpha;
    }
public function getRgbaHexString(Color $color)
    {
        $alpha = dechex(255 * $color->alpha);
        return '#' . $color->hex . $alpha;
    }
public function getRgbaHexString ( Color $ color ) { $ alpha = dechex ( 255 * $ color -> alpha ) ; return '#' . $ color -> hex . $ alpha ; }
Given a Color object, returns a formatted rgba hex string

@param  object $color Color object
@return string
Given a Color object returns a formatted rgba hex string