|
Can anybody possibly explain why both of the following commands:
FILLRGN(U
FILLRGN(D
fill Blueishgrey (rather than Green and Red respectively).
[a posting specifying all the possible colours and their wording would be appreciated]
|
|
|
|
Posts: 25
Thanks: 10 times
|
I've never seen a list of colors, but try this:
P1: FILLRGN(T1, 0, 1),ExtendLR,Brush#FF00FF00;
P2: FILLRGN(T2, 0, 1),ExtendLR,Brush#FFFF0000;
These region fills will plot between 0 and 1 if condition T1 (or T2) is true.
The first one fill do green, the second will fill in red. Swop the FF and 00 around in Brush# to get some different colors. |
CapitalSynergy.com
Trading and Swordfish Resources |
|
|
|
Posts: 8
Was thanked: 3 time(s) in 3 post(s)
|
We unfortunately don’t have a palette, but the code is quite easy to understand. The brush colors are based on the Red-Green-Blue color model.
The first two numbers after the hash (#) character represents the the Red intensity, the next two Green and thereafter Blue.
These number are hexadecimal, which means that
00 = no intensity (0 in decimal terms),
40 = quater intensity (64 in decimal terms),
80 = half intensity (128 in decimal terms),
C0 = three quaters intensity (192 in decimal), and
FF = full intensity (255 in decimal).
Therefore, Red would be Brush#FF0000, Green would be Brush#00FF00 and Blue would be Brush#0000FF.
You can also (optionally) specify the overall intenstiy in the first two characters so that
Light Red would be 40FF0000,
Medium Red would be 80FF0000,
Dark Red would be Brush#C0FF0000,
Darkest Red would be Brush#FFFF0000 or just Brush#FF0000;
A full list of colors can be viewed at:
http://cloford.com/resources/colours/500col.htm
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.