Spreadsheet ML Text Color (Colour) Rendering
Posted
by Chris Roberts
on Stack Overflow
See other posts from Stack Overflow
or by Chris Roberts
Published on 2009-10-06T22:11:20Z
Indexed on
2010/04/17
23:03 UTC
Read the original article
Hit count: 398
spreadsheetml
|excel
Hi All,
I am writing a tool which generates some Spreadsheet ML (XML) to create an Excel spreadsheet for my users.
I have defined a style as follows:
<Style ss:ID="GreenText"> <Font ss:FontName="Arial" ss:Size="9" ss:Color="#8CBE50" /> </Style>
This works to an extent, but when I open it in Excel the colour rendered for the text isn't the one I specified - it's a brighter version. I can use the same colour reference for a cell border and the colour is rendered correctly.
Can anyone shed any light on why the text colour isn't rendered correctly?
Thanks!
© Stack Overflow or respective owner