public static rgba_to_rgb ( string $color ) : string | ||
$color | string | The RGBA color string. |
return | string | The corresponding RGB string. |
public static function rgba_to_rgb($color)
{
$obj = ariColor::newColor($color);
return $obj->toCSS('rgb');
}