# GrapeCity.Documents.Word.SolidColor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_SolidColor" data-uid="GrapeCity.Documents.Word.SolidColor" class="text-break">SolidColor Class
</h1>
  <div class="markdown level0 summary"><p>Represents a solid color formatting.</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"><a class="xref" href="GrapeCity.Documents.Word.FormattingBag.html">FormattingBag</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.ColorBase.html">ColorBase</a></div>
    <div class="level3"><span class="xref">SolidColor</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_SolidColor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SolidColor : ColorBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SolidColor
    Inherits ColorBase</code></pre>
  </div>
  <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_SolidColor_Brightness" data-uid="GrapeCity.Documents.Word.SolidColor.Brightness">
          <a class="xref" href="GrapeCity.Documents.Word.SolidColor.Brightness.html#GrapeCity_Documents_Word_SolidColor_Brightness">Brightness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brightness of the color from -1 (darkest) to 1 (lightest), zero being neutral.</p>
<p> Default value is 0.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_SolidColor_RGB" data-uid="GrapeCity.Documents.Word.SolidColor.RGB">
          <a class="xref" href="GrapeCity.Documents.Word.SolidColor.RGB.html#GrapeCity_Documents_Word_SolidColor_RGB">RGB</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the RGB value of this color.</p>
<p>Only solid colors (with alpha 255) are supported.</p> 
<p>Resets <a class="xref" href="GrapeCity.Documents.Word.SolidColor.Brightness.html#GrapeCity_Documents_Word_SolidColor_Brightness">Brightness</a> and <a class="xref" href="GrapeCity.Documents.Word.SolidColor.TintAndShade.html#GrapeCity_Documents_Word_SolidColor_TintAndShade">TintAndShade</a> properties to default values.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_SolidColor_ThemeColor" data-uid="GrapeCity.Documents.Word.SolidColor.ThemeColor">
          <a class="xref" href="GrapeCity.Documents.Word.SolidColor.ThemeColor.html#GrapeCity_Documents_Word_SolidColor_ThemeColor">ThemeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a theme color that should be applied to the object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_SolidColor_TintAndShade" data-uid="GrapeCity.Documents.Word.SolidColor.TintAndShade">
          <a class="xref" href="GrapeCity.Documents.Word.SolidColor.TintAndShade.html#GrapeCity_Documents_Word_SolidColor_TintAndShade">TintAndShade</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the lightening or darkening of the color from -1 (darkest) to 1 (lightest), zero being neutral.</p>
<p> Default value is 0.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_SolidColor_Transparency" data-uid="GrapeCity.Documents.Word.SolidColor.Transparency">
          <a class="xref" href="GrapeCity.Documents.Word.SolidColor.Transparency.html#GrapeCity_Documents_Word_SolidColor_Transparency">Transparency</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the degree of transparency of the color as a value between 0 (opaque) and 1 (clear).</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="GrapeCity_Documents_Word_SolidColor_Equals_GrapeCity_Documents_Word_SolidColor_" data-uid="GrapeCity.Documents.Word.SolidColor.Equals(GrapeCity.Documents.Word.SolidColor)">
          <a class="xref" href="GrapeCity.Documents.Word.SolidColor.Equals.html#GrapeCity_Documents_Word_SolidColor_Equals_GrapeCity_Documents_Word_SolidColor_">Equals(SolidColor)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_SolidColor_Equals_System_Object_" data-uid="GrapeCity.Documents.Word.SolidColor.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Documents.Word.SolidColor.Equals.html#GrapeCity_Documents_Word_SolidColor_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_SolidColor_FixInheritedValues" data-uid="GrapeCity.Documents.Word.SolidColor.FixInheritedValues">
          <a class="xref" href="GrapeCity.Documents.Word.SolidColor.FixInheritedValues.html#GrapeCity_Documents_Word_SolidColor_FixInheritedValues">FixInheritedValues()</a>
        </td>
        <td class="markdown level1 summary"><p>Fixes all inherited values as &quot;direct&quot; values for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_SolidColor_GetHashCode" data-uid="GrapeCity.Documents.Word.SolidColor.GetHashCode">
          <a class="xref" href="GrapeCity.Documents.Word.SolidColor.GetHashCode.html#GrapeCity_Documents_Word_SolidColor_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
