,Its saying that the code has a cs0103 error
I’m just needing to know how to make the message box say the color when I type the number into the text box
Color colors = new Color3;
colors[0] = Color.red;
colors[1] = Color.green;
colors[2] = Color.blue;
int selectedIndex = 1;
string colorName = colors[selectedIndex].ToString();