Dynamically Change Cursor Background Color

Dynamically Change Cursor Background Color

Currently I can change my cursor when I hover over certain DIVs by using the code snippet below.

  1. $('#myDiv').css( 'cursor', 'url(myCursorImage.png), auto');            

But suppose I have an image of an arrow with a clear background that I want to use for my cursor image.

Is it possible to dynamically change the background of this image using css?