Edit in JSFiddle

$("p").addClass('color');
<p>こんにちは!</p>
body{background-color:#f0f0e8;}
p{background-color:#65c59f}

.color{
    font-size: 16px;
    color: white;
  }