---
title: "GetForegroundColor Method"
url: "https://reference.aspose.com/cells/go-cpp/walls/getforegroundcolor/"
product: "Aspose.Cells for Go via C++ API Reference"
description: "GetForegroundColor method. Encapsulates the function that represents getforegroundcolor in Go."
---


## GetForegroundColor function

Gets or sets the foreground Color.

```go

func (instance *Walls) GetForegroundColor()  (*Color,  error) 

```

## Remarks


## See Also

* Class [Walls](../)
* Library [Aspose.Cells for Go](../../)
