constructor(color) {
		const { canvas } = ctx;
		ctx.clearRect(0, 0, canvas.width, canvas.height);
		ctx.fillStyle = color;
		ctx.fillRect(0, 0, 1, 1);
		const [r, g, b, a] = ctx.getImageData(0, 0, 1, 1).data;
		this.rgb = new Rgb(r, g, b, a / 255);
	}
Create a color from a string
@param {string} color