How do I figure out the tolerance between two colors? (I have the values for the colors, just wanna figure out the tolerance between them.)
Thanks![]()
How do I figure out the tolerance between two colors? (I have the values for the colors, just wanna figure out the tolerance between them.)
Thanks![]()
Non-RS scripter, if you need a hand with scripting let me know. I have a decent amount of experience scripting for non-RS games.
How to add text messaging to any script: http://villavu.com/forum/showthread....98#post1151998
Use auto color aid
Current Project: Retired
Simba Code:program new;
const
Col1 = 0;
Col2 = 16777215;
var
R1, G1, B1, R2, G2, B2, Tol : Integer;
begin
ColorToRGB(Col1, R1, G1, B1);
ColorToRGB(Col2, R2, G2, B2);
R1 := iAbs(R1 - R2);
G1 := iAbs(G1 - G2);
B1 := iAbs(B1 - B2);
Tol := MaxA([R1, G1, B1]);
Writeln(Tol);
end.
I think
There are currently 1 users browsing this thread. (0 members and 1 guests)