# C1.Win.Interop.C1Colors

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Interop_C1Colors" data-uid="C1.Win.Interop.C1Colors" class="text-break">C1Colors Class
</h1>
  <div class="markdown level0 summary"></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">C1Colors</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Interop.html">C1.Win.Interop</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Interop_C1Colors_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class C1Colors</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module C1Colors</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Interop_C1Colors_Black" data-uid="C1.Win.Interop.C1Colors.Black">
          <a class="xref" href="C1.Win.Interop.C1Colors.Black.html">Black</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_Blue" data-uid="C1.Win.Interop.C1Colors.Blue">
          <a class="xref" href="C1.Win.Interop.C1Colors.Blue.html">Blue</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_Green" data-uid="C1.Win.Interop.C1Colors.Green">
          <a class="xref" href="C1.Win.Interop.C1Colors.Green.html">Green</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_Magenta" data-uid="C1.Win.Interop.C1Colors.Magenta">
          <a class="xref" href="C1.Win.Interop.C1Colors.Magenta.html">Magenta</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_Orange" data-uid="C1.Win.Interop.C1Colors.Orange">
          <a class="xref" href="C1.Win.Interop.C1Colors.Orange.html">Orange</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_Red" data-uid="C1.Win.Interop.C1Colors.Red">
          <a class="xref" href="C1.Win.Interop.C1Colors.Red.html">Red</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_Transparent" data-uid="C1.Win.Interop.C1Colors.Transparent">
          <a class="xref" href="C1.Win.Interop.C1Colors.Transparent.html">Transparent</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_White" data-uid="C1.Win.Interop.C1Colors.White">
          <a class="xref" href="C1.Win.Interop.C1Colors.White.html">White</a>
        </td>
        <td class="markdown level1 summary"></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="C1_Win_Interop_C1Colors_AreColorsEqual_System_Drawing_Color_System_Drawing_Color_" data-uid="C1.Win.Interop.C1Colors.AreColorsEqual(System.Drawing.Color,System.Drawing.Color)">
          <a class="xref" href="C1.Win.Interop.C1Colors.AreColorsEqual.html#C1_Win_Interop_C1Colors_AreColorsEqual_System_Drawing_Color_System_Drawing_Color_">AreColorsEqual(Color, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if two colors are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_ColorToHTML_System_Drawing_Color_" data-uid="C1.Win.Interop.C1Colors.ColorToHTML(System.Drawing.Color)">
          <a class="xref" href="C1.Win.Interop.C1Colors.ColorToHTML.html#C1_Win_Interop_C1Colors_ColorToHTML_System_Drawing_Color_">ColorToHTML(Color)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_ColorToString_System_Drawing_Color_" data-uid="C1.Win.Interop.C1Colors.ColorToString(System.Drawing.Color)">
          <a class="xref" href="C1.Win.Interop.C1Colors.ColorToString.html#C1_Win_Interop_C1Colors_ColorToString_System_Drawing_Color_">ColorToString(Color)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_FromArgb_System_Byte_System_Byte_System_Byte_System_Byte_" data-uid="C1.Win.Interop.C1Colors.FromArgb(System.Byte,System.Byte,System.Byte,System.Byte)">
          <a class="xref" href="C1.Win.Interop.C1Colors.FromArgb.html#C1_Win_Interop_C1Colors_FromArgb_System_Byte_System_Byte_System_Byte_System_Byte_">FromArgb(byte, byte, byte, byte)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_FromArgb_System_Int32_" data-uid="C1.Win.Interop.C1Colors.FromArgb(System.Int32)">
          <a class="xref" href="C1.Win.Interop.C1Colors.FromArgb.html#C1_Win_Interop_C1Colors_FromArgb_System_Int32_">FromArgb(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_FromArgb_System_Int32_System_Byte__System_Byte__System_Byte__System_Byte__" data-uid="C1.Win.Interop.C1Colors.FromArgb(System.Int32,System.Byte@,System.Byte@,System.Byte@,System.Byte@)">
          <a class="xref" href="C1.Win.Interop.C1Colors.FromArgb.html#C1_Win_Interop_C1Colors_FromArgb_System_Int32_System_Byte__System_Byte__System_Byte__System_Byte__">FromArgb(int, out byte, out byte, out byte, out byte)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_FromOle_System_Int32_" data-uid="C1.Win.Interop.C1Colors.FromOle(System.Int32)">
          <a class="xref" href="C1.Win.Interop.C1Colors.FromOle.html#C1_Win_Interop_C1Colors_FromOle_System_Int32_">FromOle(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new Color structure from specified integer.
NOTE, this function assumes that integer has BBGGRR format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_FromOleAlpha_System_Int32_" data-uid="C1.Win.Interop.C1Colors.FromOleAlpha(System.Int32)">
          <a class="xref" href="C1.Win.Interop.C1Colors.FromOleAlpha.html#C1_Win_Interop_C1Colors_FromOleAlpha_System_Int32_">FromOleAlpha(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new Color structure from specified integer.
NOTE, this function assumes that integer has AABBGGRR format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_FromRgb_System_Byte_System_Byte_System_Byte_" data-uid="C1.Win.Interop.C1Colors.FromRgb(System.Byte,System.Byte,System.Byte)">
          <a class="xref" href="C1.Win.Interop.C1Colors.FromRgb.html#C1_Win_Interop_C1Colors_FromRgb_System_Byte_System_Byte_System_Byte_">FromRgb(byte, byte, byte)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_FromRgb_System_Int32_" data-uid="C1.Win.Interop.C1Colors.FromRgb(System.Int32)">
          <a class="xref" href="C1.Win.Interop.C1Colors.FromRgb.html#C1_Win_Interop_C1Colors_FromRgb_System_Int32_">FromRgb(int)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_IsOpaque_System_Drawing_Color_" data-uid="C1.Win.Interop.C1Colors.IsOpaque(System.Drawing.Color)">
          <a class="xref" href="C1.Win.Interop.C1Colors.IsOpaque.html#C1_Win_Interop_C1Colors_IsOpaque_System_Drawing_Color_">IsOpaque(Color)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_IsTransparent_System_Drawing_Color_" data-uid="C1.Win.Interop.C1Colors.IsTransparent(System.Drawing.Color)">
          <a class="xref" href="C1.Win.Interop.C1Colors.IsTransparent.html#C1_Win_Interop_C1Colors_IsTransparent_System_Drawing_Color_">IsTransparent(Color)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_IsVisible_System_Drawing_Color_" data-uid="C1.Win.Interop.C1Colors.IsVisible(System.Drawing.Color)">
          <a class="xref" href="C1.Win.Interop.C1Colors.IsVisible.html#C1_Win_Interop_C1Colors_IsVisible_System_Drawing_Color_">IsVisible(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value indicating whether specified Color value represents
some &quot;visible&quot; value, for example, this function returns <b>false</b> for
transparent color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_ToArgb_System_Byte_System_Byte_System_Byte_System_Byte_" data-uid="C1.Win.Interop.C1Colors.ToArgb(System.Byte,System.Byte,System.Byte,System.Byte)">
          <a class="xref" href="C1.Win.Interop.C1Colors.ToArgb.html#C1_Win_Interop_C1Colors_ToArgb_System_Byte_System_Byte_System_Byte_System_Byte_">ToArgb(byte, byte, byte, byte)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_ToArgb_System_Drawing_Color_" data-uid="C1.Win.Interop.C1Colors.ToArgb(System.Drawing.Color)">
          <a class="xref" href="C1.Win.Interop.C1Colors.ToArgb.html#C1_Win_Interop_C1Colors_ToArgb_System_Drawing_Color_">ToArgb(Color)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_ToOle_System_Byte_System_Byte_System_Byte_" data-uid="C1.Win.Interop.C1Colors.ToOle(System.Byte,System.Byte,System.Byte)">
          <a class="xref" href="C1.Win.Interop.C1Colors.ToOle.html#C1_Win_Interop_C1Colors_ToOle_System_Byte_System_Byte_System_Byte_">ToOle(byte, byte, byte)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_ToOle_System_Drawing_Color_" data-uid="C1.Win.Interop.C1Colors.ToOle(System.Drawing.Color)">
          <a class="xref" href="C1.Win.Interop.C1Colors.ToOle.html#C1_Win_Interop_C1Colors_ToOle_System_Drawing_Color_">ToOle(Color)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_TryColorFromString_System_String_System_Drawing_Color__" data-uid="C1.Win.Interop.C1Colors.TryColorFromString(System.String,System.Drawing.Color@)">
          <a class="xref" href="C1.Win.Interop.C1Colors.TryColorFromString.html#C1_Win_Interop_C1Colors_TryColorFromString_System_String_System_Drawing_Color__">TryColorFromString(string, out Color)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Interop_C1Colors_TryGetColorByName_System_String_System_Drawing_Color__" data-uid="C1.Win.Interop.C1Colors.TryGetColorByName(System.String,System.Drawing.Color@)">
          <a class="xref" href="C1.Win.Interop.C1Colors.TryGetColorByName.html#C1_Win_Interop_C1Colors_TryGetColorByName_System_String_System_Drawing_Color__">TryGetColorByName(string, out Color)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
