Source position: Img32.CQ.pas line 125
function GetPaletteIndex(
color: TColor32;
const palette: TArrayOfColor32
):Integer;