title: Can I specify the color as a variable in the setStyleSheet of PyQt5?
body: <p>I'd like to add an event to change the color of some elements in batches when I click the button in PyQt5. I'd like to change the color to a variable in the <strong>setStyleSheet</strong>, what should I do?</p>
  <p>Below is the way I tried and failed.</p>
  <pre><code>setting_btn.setStyleSheet(
      'QPushButton { color: black; background-color:{0}; border-radius: 5px;}'.format('#519AA4'),
      'QPushButton:pressed { background-color: #305F65 }'
  )
  </code></pre>