---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/color
---

# Color

## Overview

`Color` is a type in Aspose.PDF FOSS for Go.

Color represents an RGBA color with values in [0, 1].

Properties: `A`, `B`, `G`, `R`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `R` | `float64` | Read/Write | Gets the r. |
| `G` | `float64` | Read/Write | Gets the g. |
| `B` | `float64` | Read/Write | Gets the b. |
| `A` | `float64` | Read/Write | Gets the a. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)