Login Page - Create Account

Support Board


Date/Time: Thu, 21 Nov 2024 16:56:15 +0000



[Programming Help] - ASCIL Colors

View Count: 59

[2024-11-11 12:39:39]
User353369 - Posts: 9
Is there a list of the named colors within ASCIL or does it use Windows named colors? If it's Windows does anyone have quick link to any documentation. I've been unable to find any lists.

Thank You in advance
BT
[2024-11-11 14:04:23]
gcUserStudies - Posts: 106
Check out the file called "sccolors.h" under the ACS_Source directory. It has a list of color constants

Example:

// Color constants
const int COLOR_ALICEBLUE = RGB_COLOR(240, 248, 255);
const int COLOR_ANTIQUEWHITE = RGB_COLOR(250, 235, 215);
const int COLOR_AQUA = RGB_COLOR(0, 255, 255);
const int COLOR_AQUAMARINE = RGB_COLOR(127, 255, 212);
...

[2024-11-11 16:11:31]
Tony - Posts: 516
I use RGB(), i.e. RGB(240, 248, 255), instead of color names, that way I can pick whatever color I want.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account