bg5
2012-01-19 03:49:25
Hello,
so how to check if one color is fitting in range of other color's tolerance?
so how to check if one color is fitting in range of other color's tolerance?
var
a :TColor; // could be integer too ,is there any difference?
begin
a := 459620;
Result := (a = 459521);
end;
// here it simply check if color = color ,but i need something like this:
function IsColorInToleranceRange(Color1,Color2,Tolerance) : Boolean