Check out example codes for "random color scss". It will help you in understanding the concepts better.

Code Example 1

rgb(random(255), random(255), random(255))

Learn ReactJs, React Native from akashmittal.com