As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
You might use RGB values in Excel but Excel only supports certain RGBs but will not necessarily display the true RGB representation.
For instance, run this fex for both HTML and EXL2K output and see the difference.
TABLE FILE CAR
BY COUNTRY AS 'Using RGB'
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
GRID=OFF, SIZE=9, $
TYPE=DATA, COLUMN=COUNTRY, COLOR=RGB(92 149 150), BACKCOLOR=RGB(191 201 211), $
ENDSTYLE
END
This is nothing to do with the actual colours that I've used here, but occurs with many colours. Check out Susannah's article - What is Indian Red? - that gives a break down on named colours, their RGB and Hex representations and whether Excel can show them.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Tony is right, you can use RGB, but Excel only supports a subset and will translate your request to the closest color. Furthermore, colors that are defined in Excel may not be the same as when passed in your stylesheet. Try this:
DEFINE FILE CAR
HEADER1A/A16 = 'FORM: CMS-21E';
HEADER1B/A24 = 'RUN DATE:'|'&DATE';
END
TABLE FILE CAR
SUM
SALES
BY COUNTRY
BY CAR
BY MODEL
BY SEATS
HEADING
"<HEADER1A<HEADER1B"
ON TABLE SET STYLE *
TYPE=HEADING, HEADALIGN=BODY, $
TYPE=HEADING,
ITEM=1,
COLSPAN=2,
$
TYPE=HEADING,
ITEM=2,
COLSPAN=3,
JUSTIFY=RIGHT,
$
TYPE=DATA,
COLUMN=N1,
BACKCOLOR=GOLD,$
TYPE=DATA,
COLUMN=N2,
BACKCOLOR=TAN,
$
ENDSTYLE
ON TABLE PCHOLD FORMAT EXL2K
END
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007
That's because the RGB values available in HTML are only restricted by the colour settings for your system. However, Excel 2003 and earlier only supports about 32 colours, this is expanded in 2007 though.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
yep, EXCEL 2k7 has all 16 million rgb values, but prior versions would accept whatever value you provided and then guess at the closest color it had available. Ewww its choices were sometimes quite uuuuuuugly, but funny
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Ewww its choices were sometimes quite uuuuuuugly, but funny
Susannah,
You can say that again. I had a boss that like "GOLD" and "TAN" . They looked fine when he created the spreadsheet by hand. He couldn't understand why I kept changing them to various shades of blue, until I left them GOLD and TAN.
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007