SRL Archive - Help and Support

What Format is Scar's Color Picker Set to?


-chaos-

2007-10-26 21:38:56

hi i was just wondering what is the format that scar uses to interpret color like when you color pick something and you get the 7 digit number what is it called?

Esteban

2007-10-26 21:41:07

hex i believe?

-chaos-

2007-10-26 21:42:20

thanks :)

R0b0t1

2007-10-26 23:13:15

Or 32 bits.

At MSDN, they describe it as: 0xAABBGGRR

AA = alpha, BB = blue, GG = green, RR = Red.

In scar, there is no alpha component, so this:

program New;

begin
WriteLn(IntToStr($000000FF));
end.

would produce the number 255, when as a color, is pure red.