Link to home
Start Free TrialLog in
Avatar of prpradip
prpradip

asked on

FONTID problem with color calculation

I am getting Color byte = 117 after using FontGetColor macro on fontid. But this value doesn't match to any of NOTES_COLOR_XXX. SO how can I calculate the color from FONTID?
In notes peek I can see it is displaying exact color.
SOrry it is for notes 7
ASKER CERTIFIED SOLUTION
Avatar of Sjef Bosman
Sjef Bosman
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of prpradip
prpradip

ASKER

any better way please?
is there any way to get the color in RGB using color code like 117 (in my case)
I need a code to convert that the value of color code to real color.
How about developing it yourself?? And then publish it?

Here's a way: create a screen that contains squares of all possible colour numbers, view it in a browser, use a colour picker to get the RGB values, put it in a table, and use that table in your code.
Hey I have spent plenty of time to do so without success
Thank you
Ya, I am spending more time and now begin to stop.
Finally I found it. It uses the 140 color value index to do so. But I am still not satisfied because I am not getting API or list to do so.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial