title: Set Bootstrap Input Group Labels background-color to an #rgb value
body: <p>The example code shows an input field with an <strong>Input Group Label</strong>. The background color of the Input Group Label is already set by default.</p>
  <p>I need to modify this to an own <strong>RGB</strong> value. For example: <code>#646464</code></p>
  <p>I tried to modify the <strong>background color</strong> of the <code>&lt;span&gt;</code> and the <code>&lt;div&gt;</code> as you can see in the CSS code, but none of them solved my problem. The background color of the Input Group Label remains the same.</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>.myDivClass {
    background-color: #FF0000;
  }
  
  .mySpanClass {
    background-color: #00FF00;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  
  &lt;head&gt;
    &lt;title&gt;Bootstrap Example&lt;/title&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
    &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"&gt;
    &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"&gt;&lt;/script&gt;
    &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
    &lt;div class="container mt-3"&gt;
      &lt;form&gt;
        &lt;label for="demo"&gt;Write your email here:&lt;/label&gt;
        &lt;div class="input-group mb-3"&gt;
          &lt;input type="text" class="form-control" placeholder="Email" id="demo" name="email"&gt;
          &lt;div class="input-group-append myDivClass"&gt;
            &lt;span class="input-group-text mySpanClass"&gt;@example.com&lt;/span&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/form&gt;
    &lt;/div&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>