**Inheritance:**
java.lang.Object, com.aspose.pdf.facades.FontColor

```
public final class FontColor extends Object
```

Class representing color of the text.

## Constructors

| Constructor | Description |
| --- | --- |
| [FontColor](#FontColor--) | Initializes color. |
| [FontColor](#FontColor-int-int-int-) | Initializes color with specified color components. |

## Methods

| Method | Description |
| --- | --- |
| [getBlue](#getBlue--) | Gets blue component of color. |
| [getGreen](#getGreen--) | Gets green component of color. |
| [getRed](#getRed--) | Gets red component of color. |
| [setBlue](#setBlue-int-) | Sets blue component of color. |
| [setGreen](#setGreen-int-) | Sets green component of color. |
| [setRed](#setRed-int-) | Sets red component of color. |

### FontColor {#FontColor--}
```
public FontColor()
```

Initializes color.

### FontColor {#FontColor-int-int-int-}
```
public FontColor(int r, int g, int b)
```

Initializes color with specified color components.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| r |  | Red component. |
| g |  | Green component. |
| b |  | Blue component. |

### getBlue {#getBlue--}
```
public int getBlue()
```

Gets blue component of color.

**Returns:**
blue component of color.

### getGreen {#getGreen--}
```
public int getGreen()
```

Gets green component of color.

**Returns:**
green component of color.

### getRed {#getRed--}
```
public int getRed()
```

Gets red component of color.

**Returns:**
red component of color.

### setBlue {#setBlue-int-}
```
public void setBlue(int value)
```

Sets blue component of color.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | blue component of color. |

### setGreen {#setGreen-int-}
```
public void setGreen(int value)
```

Sets green component of color.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | green component of color. |

### setRed {#setRed-int-}
```
public void setRed(int value)
```

Sets red component of color.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | red component of color. |
