title: Using a pre-defined color palette in ggplot
body: <p>Does anyone know how to use a pre-defined color palette in ggplot?</p>
  
  <p>I have a vector of colors I would like to use:</p>
  
  <pre><code>rhg_cols &lt;- c("#771C19", "#AA3929", "#E25033", "#F27314", "#F8A31B", 
                "#E2C59F", "#B6C5CC", "#8E9CA3", "#556670", "#000000")
  </code></pre>
  
  <p>But when I try to pass it to nothing happened</p>
  
  <pre><code>ggplot(mydata, aes(factor(phone_partner_products)), color = rhg_cols) +
    geom_bar()
  </code></pre>