title: How to assign different colors to each list item in an HTML unordered list?
body: <p>I know that I can assign one color to an unordered list like this:</p>
  
  <pre><code>ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  li {
    padding-left: 16px;
  }
  
  li:before {
    content: "• ";
    padding-right: 8px;
    color: green;
  }
  </code></pre>
  
  <p>But this change the color of all bullets. I want to assign different colors to each bullet. Can I somehow apply n-th child function for that?</p>