Programmatically changed Material Colour reverting through scenes once compiled

So in my game I have a ball which goes around on a level.
I have a Customize scene where you can pick a colour to customise the ball (character).
The character material is a Diffuse shader.
The script which changes the character material colour goes as follows:

var Thematerial : Material;
var ColourChange : Color;

function OnMouseDown () {
animation.Play("CubeCustom");
Thematerial.color=ColourChange;
}

Ok so Thematerial is set to Character Texture and the Colour Change is Cyan.
When I click on the cube to change the colour, I have the character shown in the same scene.
The characters colour DOES change in the scene.
So when I play it through the Unity Software, in the Customization Scene, I change the Character texture, and then I go to the next scene and the characters colour does remain the way I changed it to.

Now when I compile and build it and then play it, when I change the colour and go to the next scene, the Characters texture REVERTS to the original.

How do I fix this so it doesn’t revert when I compile it?
Please Help!

I’ve solved it! I had to do it the long and complex way using the Thematerial.color = Color(0.05882352941176470588235294117647, 0, 0); etc. way