graphics.style.color

Static object.

Sets the color of a graphic shape in the formats #RGB,#RGBA,#RRGGBB,#RRGGBBAA,rgb(r,g,b),rgba(r,g,b,a)

Example:

strokeColor: '#F00';
strokeColor: '#FF0000';
strokeColor: '#FF0000AA';
strokeColor: 'rgba(255,0,0,1)'