<?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[Get Panel Attributes - Colours]]></title><description><![CDATA[<p dir="auto">I cant seem to get the colour attributes to work in script with a panel.  Im trying to set the panels colours by using panel.get("bgColour"); but it returns this number....</p>
<p dir="auto"><img src="/assets/uploads/files/1779955558950-screenshot-2026-05-28-at-1.05.38-am.png" alt="Screenshot 2026-05-28 at 1.05.38 AM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/assets/uploads/files/1779955449107-screenshot-2026-05-28-at-1.03.52-am.png" alt="Screenshot 2026-05-28 at 1.03.52 AM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">but then when I pasted that number from the console into here to show u guys it shows up as this whole object...weird.</p>
<pre><code>{
  "alignment": "left",
  "fontStyle": "plain",
  "fontSize": 16.0,
  "fontName": "Source Code Pro",
  "textColour": "3253075780",
  "itemColour2": 4212199697,
  "itemColour": 0,
  "bgColour": 0,
  "width": 140.0,
  "height": 30.0
}
</code></pre>
<p dir="auto">How do I get the panel colours?</p>
]]></description><link>https://forum.hise.audio/topic/14787/get-panel-attributes-colours</link><generator>RSS for Node</generator><lastBuildDate>Thu, 28 May 2026 12:35:07 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/14787.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 May 2026 08:07:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Get Panel Attributes - Colours on Thu, 28 May 2026 11:38:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/449">@ustk</a> great insight! Very true. I guess I could have just tried the decimal point first but I automatically thought it would be wrong. I just tried it and it does work both ways. Thanks!</p>
]]></description><link>https://forum.hise.audio/post/120640</link><guid isPermaLink="true">https://forum.hise.audio/post/120640</guid><dc:creator><![CDATA[Chazrox]]></dc:creator><pubDate>Thu, 28 May 2026 11:38:07 GMT</pubDate></item><item><title><![CDATA[Reply to Get Panel Attributes - Colours on Thu, 28 May 2026 11:10:15 GMT]]></title><description><![CDATA[<p dir="auto">In the end, a number is a number. The format (base) is just a chosen representation of the same number, be it decimal, hexadecimal, binary, octal or whatever fancy base-factorial one can invent <img src="https://forum.hise.audio/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f92a.png?v=fba14f4754a" class="not-responsive emoji emoji-emoji-one emoji--zany_face" style="height:23px;width:auto;vertical-align:middle" title=":zany_face:" alt="🤪" /></p>
]]></description><link>https://forum.hise.audio/post/120639</link><guid isPermaLink="true">https://forum.hise.audio/post/120639</guid><dc:creator><![CDATA[ustk]]></dc:creator><pubDate>Thu, 28 May 2026 11:10:15 GMT</pubDate></item><item><title><![CDATA[Reply to Get Panel Attributes - Colours on Thu, 28 May 2026 10:52:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/12">@David-Healey</a> Yup that worked. Thanks!</p>
<p dir="auto">Works.</p>
<pre><code>var ColourNOW = 3758365736;

Console.print(Engine.intToHexString(ColourNOW));

panelColourTesting.set("itemColour", ColourNOW);

</code></pre>
]]></description><link>https://forum.hise.audio/post/120634</link><guid isPermaLink="true">https://forum.hise.audio/post/120634</guid><dc:creator><![CDATA[Chazrox]]></dc:creator><pubDate>Thu, 28 May 2026 10:52:57 GMT</pubDate></item><item><title><![CDATA[Reply to Get Panel Attributes - Colours on Thu, 28 May 2026 10:47:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/357">@dannytaurus</a> quite possible!</p>
]]></description><link>https://forum.hise.audio/post/120633</link><guid isPermaLink="true">https://forum.hise.audio/post/120633</guid><dc:creator><![CDATA[Chazrox]]></dc:creator><pubDate>Thu, 28 May 2026 10:47:51 GMT</pubDate></item><item><title><![CDATA[Reply to Get Panel Attributes - Colours on Thu, 28 May 2026 10:36:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/4087">@Chazrox</a> said in <a href="/post/120626">Get Panel Attributes - Colours</a>:</p>
<blockquote>
<p dir="auto">How do I convert that to a HEX?</p>
</blockquote>
<p dir="auto"><code>Engine.intToHexString()</code> but you should be able to use the integer representation directly in your paint routines I think.</p>
]]></description><link>https://forum.hise.audio/post/120631</link><guid isPermaLink="true">https://forum.hise.audio/post/120631</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Thu, 28 May 2026 10:36:59 GMT</pubDate></item><item><title><![CDATA[Reply to Get Panel Attributes - Colours on Thu, 28 May 2026 10:29:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/4087">@Chazrox</a> It's possible that you didn't actually copy the decimal value and it pasted whatever else was on your clipboard.</p>
<p dir="auto">If you use a clipboard manager, call it up and see what's actually in your clipboard history.</p>
]]></description><link>https://forum.hise.audio/post/120629</link><guid isPermaLink="true">https://forum.hise.audio/post/120629</guid><dc:creator><![CDATA[dannytaurus]]></dc:creator><pubDate>Thu, 28 May 2026 10:29:32 GMT</pubDate></item><item><title><![CDATA[Reply to Get Panel Attributes - Colours on Thu, 28 May 2026 09:18:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/12">@David-Healey</a> How do I convert that to a HEX? and why did it produce that object when I pasted that decimal number in the chat?</p>
]]></description><link>https://forum.hise.audio/post/120626</link><guid isPermaLink="true">https://forum.hise.audio/post/120626</guid><dc:creator><![CDATA[Chazrox]]></dc:creator><pubDate>Thu, 28 May 2026 09:18:33 GMT</pubDate></item><item><title><![CDATA[Reply to Get Panel Attributes - Colours on Thu, 28 May 2026 09:05:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/4087">@Chazrox</a> that is the color, as a decimal rather than hex.</p>
]]></description><link>https://forum.hise.audio/post/120625</link><guid isPermaLink="true">https://forum.hise.audio/post/120625</guid><dc:creator><![CDATA[David Healey]]></dc:creator><pubDate>Thu, 28 May 2026 09:05:14 GMT</pubDate></item></channel></rss>