How to change the color of a picture in LibreOffice calc using basic macros

I need to figure out how to change the color of a picture using macros in LibreOffice calc. I have tried everything I know to make this happen but nothing is working.

For images, you can choose a ColorMode.

@sokol92 what is color mode and how would that be used

Graphics Mode.
You can also use the AdjustRed, AdjustGreen, AdjustBlue properties. Put any image on first sheet of Calc document and run the macro:

Sub TestRed
  Dim oShape
  oShape=ThisComponent.Sheets(0).DrawPage(0)  ' 1-st Image
  oShape.AdjustRed=50                         ' a little bit of red
End Sub

That worked thank you!