Check out example codes for "change color of text in textview android". It will help you in understanding the concepts better.

Code Example 1

TextView text = (TextView) findViewById(R.id.text);
text.setTextColor(Color.parseColor("#FFFFFF"));

Learn ReactJs, React Native from akashmittal.com