Delphi-Quellcode:
initialization
MaxHue := 360;
MaxSat := 100;
MaxLum := 100;
You mean should be: MaxHue=MaxSat=MaxLum=255? I tried it and result is also not accurately: R is ok, but GB are not ok (G + 2 and B ok or G + 1 and B + 1)
Edited: for MaxHue=MaxSat=MaxLum=256 is ok. I did right?
And what about other range (default I have 360:100:100)?