I am working with tables and I am using the mentioned method to check for the TextColor. I use the FromArgb method of the Color-object to convert the value into a Color object.
When I check the RGB values of tc, I get the values 70,70,115 for (slightly) red text color. The values indicate a blue color. For blue text it is the other way around.
There is no problem in fixing this but I was wondering if you calculate the int for the color differently than the standard AARRGGBB.
asked 27 May '16, 11:21
This situation, not #AARRGGBB, but #RRGGBB model is used. Here is the Help quote: "The int value is calculated from the RGB triplet using the formula: (red value) + (256 x green value) + (65536 x blue value), where red value is the first triplet component, green value is the second triplet component, blue value is the third triplet component."
answered 30 May '16, 15:10
Anna Savinova ♦♦