setHex( hex, colorSpace = SRGBColorSpace ) {

		hex = Math.floor( hex );

		this.r = ( hex >> 16 & 255 ) / 255;
		this.g = ( hex >> 8 & 255 ) / 255;
		this.b = ( hex & 255 ) / 255;

		ColorManagement.colorSpaceToWorking( this, colorSpace );

		return this;

	}
Sets this color from a hexadecimal value.

@param {number} hex - The hexadecimal value.
@param {string} [colorSpace=SRGBColorSpace] - The color space.
@return {Color} A reference to this color.