<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Change cell color using color values in cell in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Change-cell-color-using-color-values-in-cell/m-p/388902#M63900</link>
    <description>I found another community post on how to change them to RGB but really what I don't know how to do is then change the cell color using the value/code in that cell.</description>
    <pubDate>Thu, 27 May 2021 19:45:26 GMT</pubDate>
    <dc:creator>hfederovich</dc:creator>
    <dc:date>2021-05-27T19:45:26Z</dc:date>
    <item>
      <title>Change cell color using color values in cell</title>
      <link>https://community.jmp.com/t5/Discussions/Change-cell-color-using-color-values-in-cell/m-p/388868#M63894</link>
      <description>&lt;P&gt;I have a column with different hex color codes and I would like to color each individual cell with the color of that cell's hex code.&amp;nbsp; Is this possible?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:30:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-cell-color-using-color-values-in-cell/m-p/388868#M63894</guid>
      <dc:creator>hfederovich</dc:creator>
      <dc:date>2023-06-10T23:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Change cell color using color values in cell</title>
      <link>https://community.jmp.com/t5/Discussions/Change-cell-color-using-color-values-in-cell/m-p/388880#M63896</link>
      <description>I am assuming the hex values are relatable to RGB values?</description>
      <pubDate>Thu, 27 May 2021 19:04:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-cell-color-using-color-values-in-cell/m-p/388880#M63896</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-05-27T19:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Change cell color using color values in cell</title>
      <link>https://community.jmp.com/t5/Discussions/Change-cell-color-using-color-values-in-cell/m-p/388897#M63899</link>
      <description>Yes</description>
      <pubDate>Thu, 27 May 2021 19:42:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-cell-color-using-color-values-in-cell/m-p/388897#M63899</guid>
      <dc:creator>hfederovich</dc:creator>
      <dc:date>2021-05-27T19:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change cell color using color values in cell</title>
      <link>https://community.jmp.com/t5/Discussions/Change-cell-color-using-color-values-in-cell/m-p/388902#M63900</link>
      <description>I found another community post on how to change them to RGB but really what I don't know how to do is then change the cell color using the value/code in that cell.</description>
      <pubDate>Thu, 27 May 2021 19:45:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-cell-color-using-color-values-in-cell/m-p/388902#M63900</guid>
      <dc:creator>hfederovich</dc:creator>
      <dc:date>2021-05-27T19:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Change cell color using color values in cell</title>
      <link>https://community.jmp.com/t5/Discussions/Change-cell-color-using-color-values-in-cell/m-p/388905#M63901</link>
      <description>&lt;P&gt;Here is the basic structure to use.....I don't know the specifics of your hex column so you will have to do that work.&lt;/P&gt;
&lt;P&gt;dt:target col refers to the column name of the cells you want colored&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=current data table();

for(i=1,i&amp;lt;=nrows(dt),i++,
	r = hex value converted to decimal;
	g = hex value converted to decimal;
	b = hex value converted to decimal;
	dt:target col &amp;lt;&amp;lt; color cells( rgb color( r, g, b ), i );
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The various functions are all documented in the Scripting Index under the Help pull down menu&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 19:56:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Change-cell-color-using-color-values-in-cell/m-p/388905#M63901</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-05-27T19:56:34Z</dc:date>
    </item>
  </channel>
</rss>

