Ended up being really simple, I thought there would be a dedicated method for this but you just need to pass the enum as a variable to setBackground method
ex:
cell.setBackground(SpreadsheetApp.ThemeColorType.ACCENT4);