title: Defined color scheme and legend categories
body: <p>Can anybody tell me how to break the legend categories to defined categories? and also the defined colors to each category. I need to define 5 categories in the legend (0-15, 15-30,...etc) and also defined color for each category.</p>
  
  <p>I am using the R code below. </p>
  
  <p>Any help is appreciated. </p>
  
  <p>Thanks in advance. </p>
  
  <pre><code>  county_choropleth(final, num_colors = 1) + 
    scale_fill_gradient2(c("red", "green", "blue", "yellow")[ceiling((0 : 60) / 10)], 
                         breaks = pretty(final$value, n = 5))
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/rpqVO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rpqVO.png" alt="enter image description here"></a></p>