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

Code Example 1

<style>
  .button {
   background-color:colorhere; 
  }
  
</style>

Code Example 2

.button {
  background-color: #4CAF50; /* Green */
  border: none;

    
color: white;
  padding: 15px 32px;
  text-align: center;
  
text-decoration: none;
  display: inline-block;
  font-size: 16px;

}

Learn ReactJs, React Native from akashmittal.com