DirectFB Reference Manual
IDirectFBPalette   FindBestMatch

Find the best matching entry.

FindBestMatch (
  IDirectFBPalette *thiz
  __u8 r
  __u8 g
  __u8 b
  __u8 a
  unsigned int *index
);

Searches the map for an entry which best matches the specified color.

  (C) Copyright by convergence GmbH