public static function get_alpha_from_rgba($color) { $obj = ariColor::newColor($color); return $obj->alpha; }