get rgb() {
		if (this.l === 0) {
			return new Rgb(0, 0, 0, this.a);
		}

		if (this.l === 1) {
			return new Rgb(255, 255, 255, this.a);
		}

		// now convert hsl value to rgb
		let c = (1 - Math.abs(2 * this.l - 1)) * this.s;
		let x = c * (1 - Math.abs(((this.h * 6) % 2) - 1));
		let m = this.l - c / 2;
		let r = 0;
		let g = 0;
		let b = 0;

		if (this.h < 1 / 6) {
			r = c;
			g = x;
		} else if (this.h < 2 / 6) {
			r = x;
			g = c;
		} else if (this.h < 3 / 6) {
			g = c;
			b = x;
		} else if (this.h < 4 / 6) {
			g = x;
			b = c;
		} else if (this.h < 5 / 6) {
			r = x;
			b = c;
		} else {
			r = c;
			b = x;
		}

		r = Math.round((r + m) * 255);
		g = Math.round((g + m) * 255);
		b = Math.round((b + m) * 255);

		return new Rgb(r, g, b, this.a);
	}
Gets the color as an rgb object
@returns {Rgb}