lv_canvas_set_palette() function
Set the palette color of a canvas for index format. Valid only for `LV_COLOR_FORMAT_I1/2/4/8`
Arguments
obj
pointer to canvas object
index
the palette color to set: - for `LV_COLOR_FORMAT_I1`: 0..1 - for `LV_COLOR_FORMAT_I2`: 0..3 - for `LV_COLOR_FORMAT_I4`: 0..15 - for `LV_COLOR_FORMAT_I8`: 0..255