# GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme" class="text-break">ColorTheme Class
</h1>
  <div class="markdown level0 summary"><p>Represents a color theme.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ColorTheme</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.html">GrapeCity.ActiveReports.Blazor.Viewer</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Blazor.Viewer.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[JsonConverter(typeof())]
public class ColorTheme</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.html">ColorTheme</a> class allows for the customization of appearance through
primary, secondary, neutral, and other color properties.</p>
</div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme__ctor" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.-ctor.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme__ctor">ColorTheme()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_BackgroundMain" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.BackgroundMain">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.BackgroundMain.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_BackgroundMain">BackgroundMain</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the main background color of the theme.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_BackgroundPanels" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.BackgroundPanels">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.BackgroundPanels.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_BackgroundPanels">BackgroundPanels</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color of panels in the theme.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Error" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Error">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Error.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Error">Error</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the error color of the theme.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_FontFamily" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.FontFamily">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.FontFamily.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_FontFamily">FontFamily</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font family used in the theme.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Name" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Name">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Name.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the theme.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Neutral" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Neutral">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Neutral.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Neutral">Neutral</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the neutral color of the theme.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Primary" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Primary">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Primary.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Primary">Primary</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the primary color of the theme.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Secondary" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Secondary">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Secondary.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Secondary">Secondary</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the secondary color of the theme.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Type" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Type">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Type.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of the theme (light or dark).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Warning" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Warning">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.Warning.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_Warning">Warning</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the warning color of the theme.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_op_Implicit_System_String__GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.op_Implicit(System.String)~GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme">
          <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.op_Implicit.html#GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme_op_Implicit_System_String__GrapeCity_ActiveReports_Blazor_Viewer_ColorTheme">implicit operator ColorTheme(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a color string to a <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ColorTheme.html">ColorTheme</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
