original_string: public static function rgba( $hex, $percent ) {
  		$hex = static::_hex_normalization( $hex );
  		$rgba = [];
  
  		for ( $i = 0; $i < 3; $i ++ ) {
  			$dec = hexdec( substr( $hex, $i * 2, 2 ) );
  			$rgba[] = $dec;
  		}
  
  		$rgba = implode( ',', $rgba );
  		$rgba = "rgba({$rgba}, $percent)";
  
  		return $rgba;
  	}
code: public static function rgba( $hex, $percent ) {
  		$hex = static::_hex_normalization( $hex );
  		$rgba = [];
  
  		for ( $i = 0; $i < 3; $i ++ ) {
  			$dec = hexdec( substr( $hex, $i * 2, 2 ) );
  			$rgba[] = $dec;
  		}
  
  		$rgba = implode( ',', $rgba );
  		$rgba = "rgba({$rgba}, $percent)";
  
  		return $rgba;
  	}
code_tokens: public static function rgba ( $ hex , $ percent ) { $ hex = static :: _hex_normalization ( $ hex ) ; $ rgba = [ ] ; for ( $ i = 0 ; $ i < 3 ; $ i ++ ) { $ dec = hexdec ( substr ( $ hex , $ i * 2 , 2 ) ) ; $ rgba [ ] = $ dec ; } $ rgba = implode ( ',' , $ rgba ) ; $ rgba = "rgba({$rgba}, $percent)" ; return $ rgba ; }
docstring: hex to rgba
  
  @param hex $hex
  @param int $percent
  @return rgba
docstring_tokens: hex to rgba