Template:XC2 element colour

Give a number form 0-9, get a colour based on XC2's elements. (Dunno what the 9's about.) Taken from MNU_ColorList. Outputs an r,g,b and so can be put into rgb(x) or rgba(x,a).