Set map marker to a custom color Android
defaultMarker()
method allows to set custom color, but only by providing hue value. According to android documentation:
(Hue) Value must be greater or equal to 0 and less than 360
If you know Hex or RGB value of your app theme, you need to do some calculations (see example ) or simply use some free online converter. In your case hue value will be 47.
Also, there is no need to set .icon() property in your code twice.