.. highlightlang:: us .. index:: MarkerGetFillColor .. _markergetfillcolor: MarkerGetFillColor ================== .. us.tag MarkerGetFillColor NOTREADYENGLISH Changed6003 :ref:`MarkerGetFillColor` returns the fill color of a marker symbol. .. function:: rvRGB = MarkerGetFillColor(hMarker) rvARGB = MarkerGetFillColor(hMarker, bTransparency) .. us.return **Return Value** *rvRGB* is a vector with 3 elements that sets the symbol fill color: .. list-table:: :header-rows: 1 * - Value - Meaning * - rvRGB[1] - Red (0 to 255) * - rvRGB[2] - Green (0 to 255) * - rvRGB[3] - Blue (0 to 255) If *bTransparency* is TRUE (1), *rvARGB* is a vector with 4 elements: .. list-table:: :header-rows: 1 * - Value - Meaning * - rvARGB[1] - Transparency value (alpha) between 0 and 255. 0 is transparent and 255 is opaque. * - rvARGB[2] - Red (0 to 255) * - rvARGB[3] - Green(0 to255) * - rvARGB[4] - Blue (0 to 255) .. us.params **Parameters** .. uparam:: hMarker Identifies the marker. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2017 - New parameter *bTransparency*. .. seealso:: :ref:`overview-marker`, :ref:`MarkerCreate`, :ref:`MarkerSetFillColor` :sub:`id-1323750`