title: Custom color of toggle buttons
body: <p>I have created a set of toggle buttons like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.bs-example {
    margin: 20px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"&gt;&lt;/script&gt;
  
  &lt;div class="btn-group" data-toggle="buttons"&gt;
    &lt;label class="btn btn-primary"&gt;
          &lt;input type="checkbox"&gt; Option 1
        &lt;/label&gt;
    &lt;label class="btn btn-primary"&gt;
          &lt;input type="checkbox"&gt; Option 2
        &lt;/label&gt;
    &lt;label class="btn btn-primary"&gt;
          &lt;input type="checkbox"&gt; Option 3
        &lt;/label&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to change the color of the buttons in the two toggle states. For example, when a button is active it becomes green, and it remains white other wise.</p>
  
  <p>Could you help me?</p>