card color in html code example Example: Bootstrap 4 Cards <div class="card"> <div class="card-body">Basic card</div> </div>