# GrapeCity.Core.Theme.GetRenderColor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Core_Theme_GetRenderColor_" data-uid="GrapeCity.Core.Theme.GetRenderColor*">GetRenderColor Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Core_Theme_GetRenderColor_" data-uid="GrapeCity.Core.Theme.GetRenderColor*"></a>
<h4 id="GrapeCity_Core_Theme_GetRenderColor_GrapeCity_Spreadsheet_IWorkbook_GrapeCity_Core_SchemeColor_GrapeCity_Spreadsheet_Color_" data-uid="GrapeCity.Core.Theme.GetRenderColor(GrapeCity.Spreadsheet.IWorkbook,GrapeCity.Core.SchemeColor,GrapeCity.Spreadsheet.Color)">GetRenderColor(IWorkbook, SchemeColor, Color)</h4>
<div class="markdown level1 summary"><p>Gets the display color from the specified scheme color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Color GetRenderColor(IWorkbook workbook, SchemeColor schemeColor, Color autoColor = default)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetRenderColor(workbook As IWorkbook, schemeColor As SchemeColor, Optional autoColor As Color = Nothing) As Color</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.IWorkbook.html">IWorkbook</a></td>
      <td><span class="parametername">workbook</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Core.SchemeColor.html">SchemeColor</a></td>
      <td><span class="parametername">schemeColor</span></td>
      <td><p>The scheme color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.Color.html">Color</a></td>
      <td><span class="parametername">autoColor</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.Color.html">Color</a></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.Color.html">Color</a> value represents the display color.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Core_Theme_GetRenderColor_GrapeCity_Spreadsheet_IWorkbook_GrapeCity_Core_SchemeColor_GrapeCity_Spreadsheet_Color__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <code class="paramref">schemeColor</code> value can be modified after exists from this function.</p>
</div>
</div>
