MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > e) Image Functions > lePalette_GetColor Function
MPLAB® Harmony Graphics Suite
lePalette_GetColor Function
C
leColor lePalette_GetColor(
    lePalette* pal, 
    uint32_t idx
);
Parameters
Parameters 
Description 
lePalette* pal 
pointer to the palette to read
 
uint32_t idx 
the index of the color to look up 
Returns

leColor - the color that was retrieved

MPLAB® Harmony Graphics Suite