<?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: ODS HTML background and foreground attrs in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-background-and-foreground-attrs/m-p/64181#M7497</link>
    <description>Hi:&lt;BR /&gt;
  I suspect the problem is the color name...you are using VLIGR -- I don't see that as a possible color name in the list of SAS names:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/31/471.html" target="_blank"&gt;http://support.sas.com/kb/31/471.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
  When I try background=YELLOW foreground=YELLOW, it works for me. If you are using the default HTML color scheme (the gray and blue color scheme), then you might want to try: &lt;BR /&gt;
[pre]&lt;BR /&gt;
 call define(_col_,'style',&lt;BR /&gt;
            'style={background=cxD3D3D3 foreground=cxD3D3D3}'); &lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Otherwise, the site above shows the named colors (SAS Names -- not necessarily the same as Microsoft names) above. When you look at the RESULTS of the note, you can hover your mouse over a color and see the HLS value (Hue, Lightness, Saturation) or the CX value (HTML/RGB color index value). I used a CX color value above. It stands for a hexadecimal percentage of colors:&lt;BR /&gt;
[pre]&lt;BR /&gt;
CXRRGGBB, where &lt;BR /&gt;
CX000000 means 0% red, 0% green, 0% blue (black)&lt;BR /&gt;
CXFFFFFF means 100% red, 100% green, 100% blue (white)&lt;BR /&gt;
CXCCCCCC means 80% red, 80% green, 80% blue&lt;BR /&gt;
etc, etc&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                      &lt;BR /&gt;
cynthia</description>
    <pubDate>Wed, 03 Dec 2008 22:31:23 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2008-12-03T22:31:23Z</dc:date>
    <item>
      <title>ODS HTML background and foreground attrs</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-background-and-foreground-attrs/m-p/64180#M7496</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to 'hide' the display of selected cells in and ODS HTML output using Proc Report.  Basically making the background and foreground attributes the same color using a call define.  unfortunately, it appears SAS is defaulting the foreground to black.  Is there a way to get around this?&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
call define(_col_,'style','style={background=VLIGR foreground=VLIGR}');&lt;BR /&gt;
&lt;BR /&gt;
thanks</description>
      <pubDate>Wed, 03 Dec 2008 19:40:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-background-and-foreground-attrs/m-p/64180#M7496</guid>
      <dc:creator>RobW</dc:creator>
      <dc:date>2008-12-03T19:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML background and foreground attrs</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-background-and-foreground-attrs/m-p/64181#M7497</link>
      <description>Hi:&lt;BR /&gt;
  I suspect the problem is the color name...you are using VLIGR -- I don't see that as a possible color name in the list of SAS names:&lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/31/471.html" target="_blank"&gt;http://support.sas.com/kb/31/471.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
  When I try background=YELLOW foreground=YELLOW, it works for me. If you are using the default HTML color scheme (the gray and blue color scheme), then you might want to try: &lt;BR /&gt;
[pre]&lt;BR /&gt;
 call define(_col_,'style',&lt;BR /&gt;
            'style={background=cxD3D3D3 foreground=cxD3D3D3}'); &lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Otherwise, the site above shows the named colors (SAS Names -- not necessarily the same as Microsoft names) above. When you look at the RESULTS of the note, you can hover your mouse over a color and see the HLS value (Hue, Lightness, Saturation) or the CX value (HTML/RGB color index value). I used a CX color value above. It stands for a hexadecimal percentage of colors:&lt;BR /&gt;
[pre]&lt;BR /&gt;
CXRRGGBB, where &lt;BR /&gt;
CX000000 means 0% red, 0% green, 0% blue (black)&lt;BR /&gt;
CXFFFFFF means 100% red, 100% green, 100% blue (white)&lt;BR /&gt;
CXCCCCCC means 80% red, 80% green, 80% blue&lt;BR /&gt;
etc, etc&lt;BR /&gt;
[/pre]&lt;BR /&gt;
                      &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 03 Dec 2008 22:31:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-background-and-foreground-attrs/m-p/64181#M7497</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-12-03T22:31:23Z</dc:date>
    </item>
  </channel>
</rss>

