Check out example codes for "ion-content background color". It will help you in understanding the concepts better.

Code Example 1

ion-content{

    --ion-background-color:#111D12;
}

Learn ReactJs, React Native from akashmittal.com