GMImage.GetFillColor
--------------------

Queries the Color to use when filling drawn objects.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [2.0](newinversion20.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.GetFillColor"; ImageRef ) 

**MBS**( **"GMImage.GetFillColor";** /\* Queries the Color to use when filling drawn objects. \*/  
**$ImageRef**) /\* The image reference number.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |

### Result

Returns a color value as string.

### Description

Queries the Color to use when filling drawn objects.  
### See also

- [GMImage.FloodFillColor](GMImageFloodFillColor.md)
- [GMImage.GetBoxColor](GMImageGetBoxColor.md)
- [GMImage.GetFillRule](GMImageGetFillRule.md)
- [GMImage.GetMatteColor](GMImageGetMatteColor.md)
- [GMImage.GetPixelColor](GMImageGetPixelColor.md)
- [GMImage.SetBoxColor](GMImageSetBoxColor.md)
- [GMImage.SetFillColor](GMImageSetFillColor.md)
- [GMImage.SetFillRule](GMImageSetFillRule.md)
- [GMImage.SetPixelColor](GMImageSetPixelColor.md)

### Example Databases

- [GraphicsMagick/Find Pixels](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/GraphicsMagick/Find%20Pixels.shtml#1ScriptAnchor_)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[GMImage.GetFileSize](GMImageGetFileSize.md) - [GMImage.GetFillRule](GMImageGetFillRule.md)

[HTML Version](GMImageGetFillColor.shtml)