You can't round the corners; they're always a rectangle.
You can indeed do gradients. The easiest thing to do would be to find a theme who's midi notes you like, and steal its midi_note_colormap.png image. Read
this sticky to learn how to unpack a theme file so you can get at its images.
------------------
Or, if you want to make your own...