Slide bg color

I can target the correct slide id via ajax and the route seems to be working, but I don't seem to be able to get the controller to update the slide background color.  I keep getting a 500 Internal Server Error in the console.  Any help would be appreciated.