Template:Decades and years/colourcode

This converts a simple {0, 1, 2, 3} code into a hex-triplet code.