The fill parameter sets the fill color, gradient, or image. The fill color can be set using hexadecimal or rgb color codes. The sample below shows a gradient:
style: { fill: "0-#333333-#2d2d2d"}