Zitat von
Klaus01:
Delphi-Quellcode:
blue := color and $00FF0000;
green := color and $0000FF00;
red := color and $000000FF;
Bitshifting nicht vergessen!
Delphi-Quellcode:
blue := (color and $00FF0000) shr 16;
green := (color and $0000FF00) shr 8;
red := color and $000000FF;
(wenn ich mich nicht irre)