lib/class-kirki-color.php
public static function sanitize_hex( $color = '#FFFFFF', $hash = true ) {
	 	if ( ! $hash ) {
	 		return ltrim( self::sanitize_color( $color, 'hex' ), '#' );
	 	}
	 	return self::sanitize_color( $color, 'hex' );
	}
public static function sanitize_hex( $color = '#FFFFFF', $hash = true ) {
	 	if ( ! $hash ) {
	 		return ltrim( self::sanitize_color( $color, 'hex' ), '#' );
	 	}
	 	return self::sanitize_color( $color, 'hex' );
	}
public static function sanitize_hex ( $ color = '#FFFFFF' , $ hash = true ) { if ( ! $ hash ) { return ltrim ( self :: sanitize_color ( $ color , 'hex' ) , '#' ) ; } return self :: sanitize_color ( $ color , 'hex' ) ; }
A proxy for the sanitize_color method.

@param string|array $color The color.
@param bool         $hash  Whether we want to include a hash (#) at the beginning or not.
@return string             The sanitized hex color.
A proxy for the sanitize_color method .