unity change editor window background color code example
Example 1: unity change text color
// To change the color of a text, see below
GameObject.GetComponent<Text>().color = Color.black;
Example 2: unity change color of image script
image.GetComponent<Image>().color = new Color32(255,255,225,100);