---
title: Foreground color
framework: quicktime-file-format
role: symbol
role_heading: Data field
path: quicktime-file-format/subtitle_sample_description/foreground_color
---

# Foreground color

A 32-bit RGBA color that specifies the text’s color, 8 bits each for red, green, blue, and alpha (transparency).

## Overview

Overview For example, this would be (0,0,0,255) for opaque black or (255,255,255,255) for opaque white. Dark colors are not recommended, as the text could be placed onto a dark background.

## See Also

### Data fields

- [Display flags](quicktime-file-format/subtitle_sample_description/display_flags.md)
- [Reserved](quicktime-file-format/subtitle_sample_description/reserved.md)
- [Reserved](quicktime-file-format/subtitle_sample_description/reserved2.md)
- [Reserved](quicktime-file-format/subtitle_sample_description/reserved3.md)
- [Default text box](quicktime-file-format/subtitle_sample_description/default_text_box.md)
- [Reserved](quicktime-file-format/subtitle_sample_description/reserved4.md)
- [Font identifier](quicktime-file-format/subtitle_sample_description/font_identifier.md)
- [Font face](quicktime-file-format/subtitle_sample_description/font_face.md)
- [Font size](quicktime-file-format/subtitle_sample_description/font_size.md)
- [Font table](quicktime-file-format/subtitle_sample_description/font_table.md)
