title: How to change font and color of sections in memoir?
body: <p>I have a test document using <code>memoir</code> and I'd like to figure out how to change the font and color of sections and lower levels. </p>
  
  <pre><code>\documentclass{memoir}
  \usepackage{fontspec}
  \setmainfont{Times New Roman}
  \setsansfont{Helvetica}
  \usepackage{blindtext}
  
  \begin{document}
      \blinddocument
  \end{document}
  </code></pre>
  
  <p>I understand that <code>memoir</code> includes the functionality of <code>titlesec</code>, and this seems to be described in section 6 of the <a href="https://ctan.org/pkg/memoir?lang=en" rel="nofollow noreferrer">manual</a>, but I just can't figure out the incantation to make it work. If I wanted <code>\section</code> to be in the sans font in blue, and the lower levels to be in green, what are the commands to make this happen?</p>