Creating Custimizer Function File and Broke the Website Please Help

Creating Custimizer Function File and Broke the Website Please Help!
Bellow is the code from the file:

<?php
/***********************************************
Sections, settings and controllers in Custimizer
***********************************************/
function psad_customize_register( $wp_customize ) {

	/***********************************************
	Site Logo
	***********************************************/
	// Site Logo Upload
	$wp_customize->add_setting( 'psad_site_logo_upload', array (
		'default' => get_stylesheet_directory_uri() . '/assets/images/psad_logo.png'
	) );
	$wp_customize->add_control(
		new WP_Customize_Image_Control(
			$wp_customize,
			'psad_site_logo_upload',
			array(
				'label'      => __( 'Upload a Logo', 'jointswp' ),
				'section'    => 'title_tagline',
				'settings'   => 'psad_site_logo_upload'
			)
		)
	);

	/***********************************************
	Color Scheme
	***********************************************/
	// Adds Color Scheme Section
	$wp_customize->add_section( 'psad_colors_styles', array(
		'title' => __( 'Color Scheme and Styles', 'jointswp' )
	));

	// main color -
	$psad_colors[] = array(
		'slug' => 'psad_color1',
		'default' => '#162e49',
		'label' => __( 'Main color', 'jointswp' )
	);

	// secondary color -
	$psad_colors[] = array(
		'slug' => 'psad_color2',
		'default' => '#f4ce53',
		'label' => __( 'Secondary color', 'jointswp' )
	);

	// Third color
	$psad_colors[] = array(
		'slug' => 'psad_color3',
		'default' => '#CCCFCF',
		'label' => __( 'Third color', 'jointswp' )
	);

	// Fourth color on hover
	$psad_colors[] = array(
		'slug' => 'psad_color4',
		'default' => '#6C6D70',
		'label' => __( 'Fourth color', 'jointswp' )
	);

	// Fifth color on hover
	$psad_colors[] = array(
		'slug' => 'psad_color5',
		'default' => '#4785C0',
		'label' => __( 'Fifth color', 'jointswp' )
	);

	// add settings and controls for each color
	foreach ( $psad_colors as $psad_color ) {

		// settings
		$wp_customize->add_setting(
			$psad_color[ 'slug' ], array (
				'default' => $psad_color[ 'default' ],
				'type' => 'option'
			)
		);
		// controls
		$wp_customize->add_control( new WP_Customize_Color_Control(
			$wp_customize,
			$psad_color[ 'slug' ],
			array (
				'label' => $psad_color[ 'label' ],
				'section' => 'psad_colors_styles',
				'settings' => $psad_color[ 'slug' ]
			)
		));
	}

	/***********************************************
	Background Image Upload
	***********************************************/
	$wp_customize->add_setting( 'psad_bg_image_upload', array (
		'default' => get_stylesheet_directory_uri() . '/assets/images/psad_background.jpg',
		'sanitize_callback' => 'esc_url_raw'
	) );

	$wp_customize->add_control(
		new WP_Customize_Image_Control(
			$wp_customize,
			'psad_bg_image_upload',
			array(
				'label'      => __( 'Upload an image for site background', 'jointswp' ),
				'section'    => 'psad_colors_styles',
				'settings'   => 'psad_bg_image_upload'
			)
		)
	);
}

// Registers actions for settings and controllers in Custimizer
add_action( 'customize_register', 'psad_customize_register' );

/********************************************************************************************
Actions and Functions go bellow for theme placement of settings defined by controllers above
********************************************************************************************/

/***********************************************
Site Logo
***********************************************/
function psad_display_site_logo( $psad_logo_size ) {

	$logo_image = get_theme_mod( 'psad_site_logo_upload', 'Please upload image for Logo in Custimizer' );
?>

	<a href="<?php echo home_url(); ?>">
    	<img class="logo" src="<?php echo $logo_image ?>" alt="PSAD Logo" style="width:<?php echo $psad_logo_size; ?>;height:<?php echo $psad_logo_size; ?>;" >
    </a>

<?php

}
add_action( 'psad_site_logo', 'psad_display_site_logo' );

/***********************************************
Site Colors and Styles
***********************************************/
function psad_add_color_styles() {

	/****************
	define colors and styles
	****************/
	$color_scheme1 = get_option( 'psad_color1' );
	$color_scheme2 = get_option( 'psad_color2' );
	$color_scheme3 = get_option( 'psad_color3' );
	$color_scheme4 = get_option( 'psad_color4' );
	$color_scheme5 = get_option( 'psad_color5' );

	$psad_background_image = get_theme_mod( 'psad_bg_image_upload' );

	/****************
	Convert hex color to rgb
	****************/
	function psad_hex2rgb($psad_hex) {
	   $psad_hex = str_replace("#", "", $psad_hex);

	   if(strlen($psad_hex) == 3) {
		  $psad_r = hexdec(substr($psad_hex,0,1).substr($psad_hex,0,1));
		  $psad_g = hexdec(substr($psad_hex,1,1).substr($psad_hex,1,1));
		  $psad_b = hexdec(substr($psad_hex,2,1).substr($psad_hex,2,1));
	   } else {
		  $psad_r = hexdec(substr($psad_hex,0,2));
		  $psad_g = hexdec(substr($psad_hex,2,2));
		  $psad_b = hexdec(substr($psad_hex,4,2));
	   }
	   $psad_rgb = array($psad_r, $psad_g, $psad_b);
	   return implode(",", $psad_rgb); // returns the rgb values separated by commas
	   //return $psad_rgb; // returns an array with the rgb values
	}

	/**************
	add classes
	**************/
	?>

	<style>

	/* Color 1 Styles */
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	i,
	.button,
	.button:focus,
	.button:hover,
	.orbit-next,
	.orbit-previous,
	main,
	.psad-latest-post .post-text-content,
	.menu .active > a,
	.psad-nav-button .button,
	.footer {
		color: <?php echo $color_scheme1; ?>;
	}

	.is-dropdown-submenu,
	.title-bar,
	#site-header,
	#site-header #large-logo-container,
	#site-header #search-and-social,
	.top-bar,
	.top-bar ul {
		background: rgb(<?php echo psad_hex2rgb($color_scheme1); ?>);
	}

	/* Color 2 Styles */
	a, a:link,
	a:visited:link,
	h1 a,
	.h1 a,
	h2 a,
	.h2 a,
	h3 a,
	.h3 a,
	h4 a,
	.h4 a,
	h5 a,
	.h5 a,
	.title-bar,
	.psad-cta {
		color: <?php echo $color_scheme2; ?>;
	}

	a .button,
	a:link .button,
	a:visited:link .button, {
		color: <?php echo $color_scheme1; ?>;
	}

	button,
	.button,
	.menu .active > a,
	.orbit-bullets button.is-active,
	.orbit-bullets button:hover {
		background: <?php echo $color_scheme2; ?>;
	}

	/* Color 3 Styles */
	body,
	.psad-instagram-post .article-header,
	.byline {
		color: <?php echo $color_scheme3; ?>;
	}

	.input-group-field,
	.input-group-field:target,
	.a11y-toolbar ul li button {
		background-color: <?php echo $color_scheme3; ?>;
	}

	main,
	#sidebar1 {
		background-color: rgba(<?php echo psad_hex2rgb($color_scheme3); ?>, 0.8);
	}

	[type="color"],
	[type="date"],
	[type="datetime-local"],
	[type="datetime"],
	[type="email"],
	[type="month"],
	[type="number"],
	[type="password"],
	[type="search"],
	[type="tel"],
	[type="text"],
	[type="time"],
	[type="url"],
	[type="week"],
	textarea {
		border-color: <?php echo $color_scheme4; ?>;
	}

	/* Color 4 Styles */
	 {
		color: <?php echo $color_scheme4; ?>;
	}

	.orbit-container,
	article,
	.pagination,
	.orbit-bullets button,
	.widget_rcpt,
	.footer {
		background-color: <?php echo $color_scheme4; ?>;
	}

	article {
		border-color: <?php echo $color_scheme4; ?>;
	}

	.psad-latest-post .post-text-content,
	.psad-instagram-post .article-header {
		background: rgba(<?php echo psad_hex2rgb($color_scheme4); ?>,0.9);
	}

	/* Color 5 Styles */

	body {
		background-color: <?php echo $color_scheme5; ?>;
	}

	.psad-cta {
		background: rgba(<?php echo psad_hex2rgb($color_scheme5); ?>,0.8);
	}

	/* Background Image Style */
	body {
		background: url("<?php echo $psad_background_image; ?>") no-repeat center center fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}

	</style>

<?php }
add_action( 'wp_head', 'psad_add_color_styles' );
?>

Bellow is the error I get when going to the login page:

Warning: Cannot modify header information - headers already sent by (output started at /home3/jonaswa/public_html/test.jowebdesigner.com/projects/twps/v5/wp-content/themes/JointsWP-CSS-master/assets/functions/customizer.php:326) in /home3/jonaswa/public_html/test.jowebdesigner.com/projects/twps/v5/wp-includes/pluggable.php on line 1179

Can anyone please help me, thank you?