I actually made a working function
I'm all so happy 
Anyways, here it is. I always found it annoying, having to type in the coords everytime when I wanted to search for something in the inventory 
SCAR Code:
{*******************************************************************************
function FindInvColor(var x, y: Integer; Color: Integer) : Boolean;
By: Jason2gs
Description: Finds color in the Inventory.
*******************************************************************************}
function FindInvColor(var x, y: Integer; Color: Integer) : Boolean;
begin
if(FindColor(x, y, Color, 553, 204, 740, 476))then
Result := True;
end;
Not the best function, but I'm happy 
Edit: I just hope there's not already something like this. I looked, and didn't find anything.