# C1.WPF.C1HslColor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1HslColor" data-uid="C1.WPF.C1HslColor" class="text-break">C1HslColor Struct
</h1>
  <div class="markdown level0 summary"><p>Class that allows to increase/decrease lightness
of the specified color.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1HslColor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct C1HslColor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure C1HslColor</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="C1_WPF_C1HslColor__ctor_System_Byte_System_Single_System_Single_System_Single_" data-uid="C1.WPF.C1HslColor.#ctor(System.Byte,System.Single,System.Single,System.Single)">
          <a class="xref" href="C1.WPF.C1HslColor.-ctor.html#C1_WPF_C1HslColor__ctor_System_Byte_System_Single_System_Single_System_Single_">C1HslColor(byte, float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.C1HslColor.html">C1HslColor</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1HslColor__ctor_System_Single_System_Single_System_Single_" data-uid="C1.WPF.C1HslColor.#ctor(System.Single,System.Single,System.Single)">
          <a class="xref" href="C1.WPF.C1HslColor.-ctor.html#C1_WPF_C1HslColor__ctor_System_Single_System_Single_System_Single_">C1HslColor(float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.C1HslColor.html">C1HslColor</a> struct.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1HslColor__ctor_System_Windows_Media_Color_" data-uid="C1.WPF.C1HslColor.#ctor(System.Windows.Media.Color)">
          <a class="xref" href="C1.WPF.C1HslColor.-ctor.html#C1_WPF_C1HslColor__ctor_System_Windows_Media_Color_">C1HslColor(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.C1HslColor.html">C1HslColor</a> struct.</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="C1_WPF_C1HslColor_Alpha" data-uid="C1.WPF.C1HslColor.Alpha">
          <a class="xref" href="C1.WPF.C1HslColor.Alpha.html#C1_WPF_C1HslColor_Alpha">Alpha</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alpha channel of the color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1HslColor_Hue" data-uid="C1.WPF.C1HslColor.Hue">
          <a class="xref" href="C1.WPF.C1HslColor.Hue.html#C1_WPF_C1HslColor_Hue">Hue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the hue of the color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1HslColor_Luminance" data-uid="C1.WPF.C1HslColor.Luminance">
          <a class="xref" href="C1.WPF.C1HslColor.Luminance.html#C1_WPF_C1HslColor_Luminance">Luminance</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the luminance of the color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1HslColor_Saturation" data-uid="C1.WPF.C1HslColor.Saturation">
          <a class="xref" href="C1.WPF.C1HslColor.Saturation.html#C1_WPF_C1HslColor_Saturation">Saturation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the saturation of the color.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
