Check out example codes for "rgb white". It will help you in understanding the concepts better.

Code Example 1

rgb(255,255,255)	/*white*/  Hex 	#FFFFFF

Code Example 2

RGB(255, 255, 255)

Learn ReactJs, React Native from akashmittal.com