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

Code Example 1

<style>
div {
    background-color: #ffffff; /* add # infront of the hex code */
    color: #ffffff; /* add # infront of the hex code */
}
</style>

Learn ReactJs, React Native from akashmittal.com