<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "quicktime-file-format",
  "identifier" : "/documentation/quicktime-file-format/Subtitle_sample_description/Foreground_color",
  "metadataVersion" : "0.1.0",
  "role" : "Data field",
  "symbol" : {
    "kind" : "Data field",
    "modules" : [
      "QuickTime File Format"
    ],
    "preciseIdentifier" : "__docc_universal_symbol_reference_$Subtitle_sample_description_Foreground_color"
  },
  "title" : "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

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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)