# C1.WPF.Extended.WebColor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Extended_WebColor" data-uid="C1.WPF.Extended.WebColor" class="text-break">WebColor Class
</h1>
  <div class="markdown level0 summary"><p>Utility methods for web colors.</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">WebColor</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Extended.html">C1.WPF.Extended</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Extended.4.6.2.dll</h6>
  <h5 id="C1_WPF_Extended_WebColor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class WebColor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module WebColor</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Extended_WebColor_ToColor_System_String_" data-uid="C1.WPF.Extended.WebColor.ToColor(System.String)">
          <a class="xref" href="C1.WPF.Extended.WebColor.ToColor.html#C1_WPF_Extended_WebColor_ToColor_System_String_">ToColor(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert a hex string to a .NET Color object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Extended_WebColor_ToColor_System_String_System_Byte_" data-uid="C1.WPF.Extended.WebColor.ToColor(System.String,System.Byte)">
          <a class="xref" href="C1.WPF.Extended.WebColor.ToColor.html#C1_WPF_Extended_WebColor_ToColor_System_String_System_Byte_">ToColor(string, byte)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert a hex string to a .NET Color object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
