</h1></div>

    <section class="multi-line-signature">
      <span class="returntype"><a href="dart-ui/Color-class.html">Color</a></span>
            <span class="name ">withRed</span>
(<wbr><span class="parameter" id="withRed-param-r"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">r</span></span>)
      
    </section>
    <section class="desc markdown">
      <p>Returns a new color that matches this color with the red channel replaced
with <co