Mon Nov 08, 2010 4:55 am
the line of code I'm trying to use is the following:
coverSheet.Range(2, 5, 2, 9).Style.Color = Drawing.Color.FromArgb(55, 96, 145)
but the actual output in the excel file gives me the color with the following RGB value:
R:51 G:51 B:153
What is changing the colors? How do I get the {55,96,145} values to stick?
I referenced "web colors" in my post because in Photoshop's colorpicker if I enter my intended RGB values and then check the "only Web colors" checkbox it gives me something very close to the {51,51,153} color value.
thank you for your time.