Check out example codes for "unity particle system color". It will help you in understanding the concepts better.

Code Example 1

Color myColor;
gameObject.GetComponent<ParticleSystem>().startColor = myColor;

Learn ReactJs, React Native from akashmittal.com