<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[farbwert in hex darstellen]]></title><description><![CDATA[<p>Hallo liebe leute</p>
<p>mit<br />
farbe1-&gt;Text= auge_links-&gt;Canvas-&gt;Pixels[x][y];</p>
<p>übergebe ich eine Farbwert.</p>
<p>was oder wie muss ich es anstellen das er in hex dargestellt wird....</p>
<p>in vb</p>
<p>dec2hex(wert) und fertig...</p>
<p>aber hier (heul)</p>
<p>danke für eure hilfe...<br />
gruss uwe</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/86310/farbwert-in-hex-darstellen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 03 Jul 2026 16:34:58 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/86310.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Sep 2004 16:08:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to farbwert in hex darstellen on Fri, 17 Sep 2004 16:08:13 GMT]]></title><description><![CDATA[<p>Hallo liebe leute</p>
<p>mit<br />
farbe1-&gt;Text= auge_links-&gt;Canvas-&gt;Pixels[x][y];</p>
<p>übergebe ich eine Farbwert.</p>
<p>was oder wie muss ich es anstellen das er in hex dargestellt wird....</p>
<p>in vb</p>
<p>dec2hex(wert) und fertig...</p>
<p>aber hier (heul)</p>
<p>danke für eure hilfe...<br />
gruss uwe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/609411</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/609411</guid><dc:creator><![CDATA[klaus100001]]></dc:creator><pubDate>Fri, 17 Sep 2004 16:08:13 GMT</pubDate></item><item><title><![CDATA[Reply to farbwert in hex darstellen on Fri, 17 Sep 2004 18:46:58 GMT]]></title><description><![CDATA[<p>also wenn ich die hilfe richtig interpretiert habe,<br />
dann brauchst du lediglich die 6 niederwertigsten stellen vom<br />
rückgabewert (Pixels-&gt;TColor) extrahieren.</p>
<p>beispiele:</p>
<p>0x00FF0000 - reines Blau mit voller Intensität<br />
-&gt; HEX: #FF0000</p>
<p>0x0000FF00 - reines Grün<br />
-&gt; HEX: #00FF00</p>
<p>0x000000FF - reines Rot<br />
-&gt; HEX: #0000FF</p>
<p>0x00000000 - Schwarz<br />
-&gt; HEX: #000000</p>
<p>0x00FFFFFF - schwarz<br />
-&gt; HEX: #FFFFFF</p>
]]></description><link>https://www.c-plusplus.net/forum/post/609521</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/609521</guid><dc:creator><![CDATA[yorba]]></dc:creator><pubDate>Fri, 17 Sep 2004 18:46:58 GMT</pubDate></item><item><title><![CDATA[Reply to farbwert in hex darstellen on Fri, 17 Sep 2004 21:19:41 GMT]]></title><description><![CDATA[<p>muss noch mal eine kleine zwischenfrage stellen ... (will kein neues Thema deswegen aufmachen) <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>wie kann ich wenn ich einen ColorDialog habe die Farben als Hexzahlen-Rückgabewert erhalten ?</p>
<p>Danke<br />
TheGeek</p>
]]></description><link>https://www.c-plusplus.net/forum/post/609590</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/609590</guid><dc:creator><![CDATA[TheGeek]]></dc:creator><pubDate>Fri, 17 Sep 2004 21:19:41 GMT</pubDate></item><item><title><![CDATA[Reply to farbwert in hex darstellen on Fri, 17 Sep 2004 22:21:37 GMT]]></title><description><![CDATA[<blockquote>
<p>wie kann ich wenn ich einen ColorDialog habe die Farben als Hexzahlen-Rückgabewert erhalten ?</p>
</blockquote>
<p>ich vermute du willst die zahl als hex formatiert in einem string, oder?</p>
<p>spontan fällt mir da _itoa() ein.<br />
einfach radix auf 16 setzen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/609609</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/609609</guid><dc:creator><![CDATA[dot]]></dc:creator><pubDate>Fri, 17 Sep 2004 22:21:37 GMT</pubDate></item><item><title><![CDATA[Reply to farbwert in hex darstellen on Mon, 20 Sep 2004 07:08:58 GMT]]></title><description><![CDATA[<blockquote>
<p>ich vermute du willst die zahl als hex formatiert in einem string, oder?</p>
</blockquote>
<p>genau ! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<blockquote>
<p>spontan fällt mir da _itoa() ein.<br />
einfach radix auf 16 setzen...</p>
</blockquote>
<p>Danke ich werd es gleich mal testen !</p>
<p>TheGeek</p>
]]></description><link>https://www.c-plusplus.net/forum/post/610843</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/610843</guid><dc:creator><![CDATA[TheGeek]]></dc:creator><pubDate>Mon, 20 Sep 2004 07:08:58 GMT</pubDate></item></channel></rss>