<?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-create excel color in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/re-create-excel-color/m-p/16119#M3444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to re-create the excel color with Hue=56, Sat=109, and Lum=185 (or Red=196, Green=215, and Blue=155).&lt;/P&gt;&lt;P&gt;I'm currently using tagsets.excelxp with style=journal.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2012 23:21:46 GMT</pubDate>
    <dc:creator>gzr2mz39</dc:creator>
    <dc:date>2012-02-27T23:21:46Z</dc:date>
    <item>
      <title>re-create excel color</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/re-create-excel-color/m-p/16119#M3444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to re-create the excel color with Hue=56, Sat=109, and Lum=185 (or Red=196, Green=215, and Blue=155).&lt;/P&gt;&lt;P&gt;I'm currently using tagsets.excelxp with style=journal.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 23:21:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/re-create-excel-color/m-p/16119#M3444</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2012-02-27T23:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: re-create excel color</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/re-create-excel-color/m-p/16120#M3445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; The easiest way to specify a color is with hexadecimal values. So, if you convert the RGB color numbers to hex values, then the specification would be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp ... ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;proc report data=sashelp.class &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;&amp;nbsp; style(header)={background=cxrrggbb};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods tagsets.excelxp close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Code sample below. For example, where I have cxrrggbb, you would have cxc4d79b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2508 data _null_;&lt;/P&gt;&lt;P&gt;2509 Red=196;&lt;/P&gt;&lt;P&gt;2510 Green=215;&lt;/P&gt;&lt;P&gt;2511 Blue=155;&lt;/P&gt;&lt;P&gt;2512 put red= hex2. green= hex2. blue= hex2.;&lt;/P&gt;&lt;P&gt;2513 colorval = catt('cx',put(red,hex2.), put(green,hex2.), put(blue,hex2.))&lt;/P&gt;&lt;P&gt;2513! ;&lt;/P&gt;&lt;P&gt;2514 put 'colorval for ods is ' colorval=;&lt;/P&gt;&lt;P&gt;2515 run;&lt;/P&gt;&lt;P&gt;Red=C4 Green=D7 Blue=9B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;colorval for ods is colorval=&lt;STRONG&gt;cxC4D79B&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 00:22:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/re-create-excel-color/m-p/16120#M3445</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2012-02-28T00:22:56Z</dc:date>
    </item>
  </channel>
</rss>

