number;
	}

	tick() {
		let clock = this;
		clock.setTime();
		clock.displayTime();
		clock.color.displayColor();
	}

	start() {
		let clock = this;
		clock.setTime();
		clock.color = new color(clock);
		clock.tick();
		window.setInterval(clock.tick.bind(clock), 1000)
	}
}

class color {
	constructor(clock) {
		this.encodingModes = ["hueWheel", "timeToHex"],
		this.timeEncoding = "hueWheel",
		this.hue = 0,
		this.lightness = 50,
		this.gradient = false,
		this.clock = clock;
	}
