# FarPoint.Web.Spread.ConditionalFormattingColorValue.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_ConditionalFormattingColorValue__ctor_" data-uid="FarPoint.Web.Spread.ConditionalFormattingColorValue.#ctor*">ConditionalFormattingColorValue Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_ConditionalFormattingColorValue__ctor_" data-uid="FarPoint.Web.Spread.ConditionalFormattingColorValue.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_ConditionalFormattingColorValue__ctor_System_Drawing_Color_System_Object_FarPoint_Web_Spread_ConditionalFormattingValueType_" data-uid="FarPoint.Web.Spread.ConditionalFormattingColorValue.#ctor(System.Drawing.Color,System.Object,FarPoint.Web.Spread.ConditionalFormattingValueType)">ConditionalFormattingColorValue(Color, object, ConditionalFormattingValueType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingColorValue.html">ConditionalFormattingColorValue</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 ConditionalFormattingColorValue(Color color, object value, ConditionalFormattingValueType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(color As Color, value As Object, type As ConditionalFormattingValueType)</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><span class="xref">Color</span></td>
      <td><span class="parametername">color</span></td>
      <td><p>The color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.ConditionalFormattingValueType.html">ConditionalFormattingValueType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The type. Note: ConditionalFormattingColorValue accepts only Max, Min, Number, Percent, Percentile, and Formula values of ConditionalFormattingValueType.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
