<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "quicktime-file-format",
  "identifier" : "/documentation/quicktime-file-format/Video_sample_description/Color_table_ID",
  "metadataVersion" : "0.1.0",
  "role" : "Data field",
  "symbol" : {
    "kind" : "Data field",
    "modules" : [
      "QuickTime File Format"
    ],
    "preciseIdentifier" : "__docc_universal_symbol_reference_$Video_sample_description_Color_table_ID"
  },
  "title" : "Color table ID"
}
-->

# Color table ID

A 16-bit integer that identifies which color table to use.

## Overview

If this field is set to –1, the default color table should be used for the specified depth. For all depths below 16 bits per pixel, this indicates a standard Macintosh color table for the specified depth. Depths of 16, 24, and 32 have no color table.

If the color table ID is set to 0, a color table is contained within the sample description itself. The color table immediately follows the color table ID field in the sample description. See [`Color table atom`](/documentation/quicktime-file-format/Color_table_atom) for a complete description of a color table.

---

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)