# GrapeCity.Documents.Word.UserColor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_UserColor" data-uid="GrapeCity.Documents.Word.UserColor" class="text-break">UserColor Class
</h1>
  <div class="markdown level0 summary"><p>Represents an extended color.</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">UserColor</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_UserColor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class UserColor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class UserColor</code></pre>
  </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_Documents_Word_UserColor__ctor_GrapeCity_Documents_Word_SolidColor_" data-uid="GrapeCity.Documents.Word.UserColor.#ctor(GrapeCity.Documents.Word.SolidColor)">
          <a class="xref" href="GrapeCity.Documents.Word.UserColor.-ctor.html#GrapeCity_Documents_Word_UserColor__ctor_GrapeCity_Documents_Word_SolidColor_">UserColor(SolidColor)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Word.UserColor.html">UserColor</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_UserColor__ctor_GrapeCity_Documents_Word_ThemeColorId_" data-uid="GrapeCity.Documents.Word.UserColor.#ctor(GrapeCity.Documents.Word.ThemeColorId)">
          <a class="xref" href="GrapeCity.Documents.Word.UserColor.-ctor.html#GrapeCity_Documents_Word_UserColor__ctor_GrapeCity_Documents_Word_ThemeColorId_">UserColor(ThemeColorId)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Word.UserColor.html">UserColor</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_UserColor__ctor_GrapeCity_Documents_Word_ThemeColorId_System_Single_" data-uid="GrapeCity.Documents.Word.UserColor.#ctor(GrapeCity.Documents.Word.ThemeColorId,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Word.UserColor.-ctor.html#GrapeCity_Documents_Word_UserColor__ctor_GrapeCity_Documents_Word_ThemeColorId_System_Single_">UserColor(ThemeColorId, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Word.UserColor.html">UserColor</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_UserColor__ctor_GrapeCity_Documents_Word_ThemeColorId_System_Single_System_Single_System_Single_" data-uid="GrapeCity.Documents.Word.UserColor.#ctor(GrapeCity.Documents.Word.ThemeColorId,System.Single,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Word.UserColor.-ctor.html#GrapeCity_Documents_Word_UserColor__ctor_GrapeCity_Documents_Word_ThemeColorId_System_Single_System_Single_System_Single_">UserColor(ThemeColorId, float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Word.UserColor.html">UserColor</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_UserColor__ctor_System_Drawing_Color_" data-uid="GrapeCity.Documents.Word.UserColor.#ctor(System.Drawing.Color)">
          <a class="xref" href="GrapeCity.Documents.Word.UserColor.-ctor.html#GrapeCity_Documents_Word_UserColor__ctor_System_Drawing_Color_">UserColor(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Word.UserColor.html">UserColor</a> class.</p>
</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_Documents_Word_UserColor_Brightness" data-uid="GrapeCity.Documents.Word.UserColor.Brightness">
          <a class="xref" href="GrapeCity.Documents.Word.UserColor.Brightness.html#GrapeCity_Documents_Word_UserColor_Brightness">Brightness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the brightness of the color from -1 (darkest) to 1 (lightest), zero being neutral.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_UserColor_Color" data-uid="GrapeCity.Documents.Word.UserColor.Color">
          <a class="xref" href="GrapeCity.Documents.Word.UserColor.Color.html#GrapeCity_Documents_Word_UserColor_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the RGB value of this color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_UserColor_ThemeColor" data-uid="GrapeCity.Documents.Word.UserColor.ThemeColor">
          <a class="xref" href="GrapeCity.Documents.Word.UserColor.ThemeColor.html#GrapeCity_Documents_Word_UserColor_ThemeColor">ThemeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a theme color that should be applied to the object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_UserColor_TintAndShade" data-uid="GrapeCity.Documents.Word.UserColor.TintAndShade">
          <a class="xref" href="GrapeCity.Documents.Word.UserColor.TintAndShade.html#GrapeCity_Documents_Word_UserColor_TintAndShade">TintAndShade</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the lightening or darkening of the color from -1 (darkest) to 1 (lightest), zero being neutral.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_UserColor_Transparency" data-uid="GrapeCity.Documents.Word.UserColor.Transparency">
          <a class="xref" href="GrapeCity.Documents.Word.UserColor.Transparency.html#GrapeCity_Documents_Word_UserColor_Transparency">Transparency</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the degree of transparency of the color as a value between 0 (opaque) and 1 (clear).</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
