# C1.WPF.Sparkline.Util.ThemeColor.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Sparkline_Util_ThemeColor__ctor_" data-uid="C1.WPF.Sparkline.Util.ThemeColor.#ctor*">ThemeColor Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Sparkline_Util_ThemeColor__ctor_" data-uid="C1.WPF.Sparkline.Util.ThemeColor.#ctor*"></a>
<h4 id="C1_WPF_Sparkline_Util_ThemeColor__ctor" data-uid="C1.WPF.Sparkline.Util.ThemeColor.#ctor">ThemeColor()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Sparkline.Util.ThemeColor.html">ThemeColor</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ThemeColor()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_WPF_Sparkline_Util_ThemeColor__ctor_" data-uid="C1.WPF.Sparkline.Util.ThemeColor.#ctor*"></a>
<h4 id="C1_WPF_Sparkline_Util_ThemeColor__ctor_System_String_System_Windows_Media_Color_System_Windows_Media_Color_System_Windows_Media_Color_System_Windows_Media_Color_System_Windows_Media_Color_System_Windows_Media_Color_System_Windows_Media_Color_System_Windows_Media_Color_System_Windows_Media_Color_System_Windows_Media_Color_System_Windows_Media_Color_System_Windows_Media_Color_" data-uid="C1.WPF.Sparkline.Util.ThemeColor.#ctor(System.String,System.Windows.Media.Color,System.Windows.Media.Color,System.Windows.Media.Color,System.Windows.Media.Color,System.Windows.Media.Color,System.Windows.Media.Color,System.Windows.Media.Color,System.Windows.Media.Color,System.Windows.Media.Color,System.Windows.Media.Color,System.Windows.Media.Color,System.Windows.Media.Color)">ThemeColor(string, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color, Color)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Sparkline.Util.ThemeColor.html">ThemeColor</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ThemeColor(string name, Color text1, Color text2, Color background1, Color background2, Color accent1, Color accent2, Color accent3, Color accent4, Color accent5, Color accent6, Color link, Color followedLink)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(name As String, text1 As Color, text2 As Color, background1 As Color, background2 As Color, accent1 As Color, accent2 As Color, accent3 As Color, accent4 As Color, accent5 As Color, accent6 As Color, link As Color, followedLink 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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The name of the theme color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">text1</span></td>
      <td><p>The text1 color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">text2</span></td>
      <td><p>The text2 color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">background1</span></td>
      <td><p>The background1.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">background2</span></td>
      <td><p>The background2.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">accent1</span></td>
      <td><p>The accent1.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">accent2</span></td>
      <td><p>The accent2.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">accent3</span></td>
      <td><p>The accent3.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">accent4</span></td>
      <td><p>The accent4.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">accent5</span></td>
      <td><p>The accent5.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">accent6</span></td>
      <td><p>The accent6.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">link</span></td>
      <td><p>The link.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a></td>
      <td><span class="parametername">followedLink</span></td>
      <td><p>The followed link.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
