Source position: agraphics.pas line 2418
function FindColor(
cm: pColorMap;
r: ULONG;
g: ULONG;
b: ULONG;
maxcolor: LongInt
):LongInt;