color ()
Class:
Marker
Returns the current background color of the marker.
Returns: String
Example
// assuming you already have access to `marker` as a Marker object
marker.color() // will return something like '#abc123'