Check out example codes for "webkit autofill background color". It will help you in understanding the concepts better.

Code Example 1

/* Change the white to any color ;) */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

Learn ReactJs, React Native from akashmittal.com