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

Code Example 1

(255,255,0)  /*yellow*/    Hex #FFFF00

Learn ReactJs, React Native from akashmittal.com