set( r, g, b ) {

		if ( g === undefined && b === undefined ) {

			// r is THREE.Color, hex or string

			const value = r;

			if ( value && value.isColor ) {

				this.copy( value );

			} else if ( typeof value === 'number' ) {

				this.setHex( value );

			} else if ( typeof value === 'string' ) {

				this.setStyle( value );

			}

		} else {

			this.setRGB( r, g, b );

		}

		return this;

	}
Sets the colors's components from the given values.

@param {(number|string|Color)} [r] - The red component of the color. If `g` and `b` are
not provided, it can be hexadecimal triplet, a CSS-style string or another `Color` instance.
@param {number} [g] - The green component.
@param {number} [b] - The blue component.
@return {Color} A reference to this color.