
Originally Posted by
XxKanexX
I havn't really learnt about the color functions in scar yet. All i need to know is that. Then just make a copy minus (5?) from the position with that color, and so forth but going darker

Since it appears there is no alpha chanel to work with... This is how you extract the chanels from a RBG value
Since you will have to work with individual colors to make it darker
Code:
R:= (RGB and $FF0000) shr 16
G:= (RGB and $FF00) shr 8
B:= RGB and $FF
and to put them back into a color:
Code:
RGB:= (R shl 16) or (G shl 8) or B
Some people might not know how or works and may do this:
Code:
RGB:= (R shl 16) + (G shl 8) + B
The first one is faster though 
BUT if you had an alpha chanel you could do somthing like this to each pixel's color to make it darker:
Code:
PixelColor:= ((PixelColor and $FF000000) div 2) or (PixelColor and $FFFFFF)