Edit in JSFiddle

<p class="myClass" >Hello, Friends how are you ? </p>
<input type="button" value="Toggle Class" id="toggleClass">
$("#toggleClass").click(function () {
$("p").toggleClass( "myClass" ); 
});
.myClass{
    color: LawnGreen;
  }