src/SyHolloway/MrColor/Extension/Formatter.php
public function getHslaString(Color $color)
    {
        return 'hsla('. round($color->hue) . ', ' . round($color->saturation * 100) . '%, ' . round($color->lightness * 100) . '%, ' . $color->alpha . ')';
    }
public function getHslaString(Color $color)
    {
        return 'hsla('. round($color->hue) . ', ' . round($color->saturation * 100) . '%, ' . round($color->lightness * 100) . '%, ' . $color->alpha . ')';
    }
public function getHslaString ( Color $ color ) { return 'hsla(' . round ( $ color -> hue ) . ', ' . round ( $ color -> saturation * 100 ) . '%, ' . round ( $ color -> lightness * 100 ) . '%, ' . $ color -> alpha . ')' ; }
Given a Color object, returns a formatted hsla string

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