<!--
{
  "documentType" : "article",
  "framework" : "OpenGLES",
  "identifier" : "/documentation/OpenGLES/color-formats",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Color Formats"
}
-->

# Color Formats

Color formats that can be specified under the `kEAGLDrawablePropertyColorFormat` key.

## Topics

### Constants

[`let kEAGLColorFormatRGB565: String`](/documentation/OpenGLES/kEAGLColorFormatRGB565)

Specifies a 16-bit RGB format that corresponds to the OpenGL ES `GL_RGB565` format.

[`let kEAGLColorFormatRGBA8: String`](/documentation/OpenGLES/kEAGLColorFormatRGBA8)

Specifies a 32-bit RGBA format that corresponds to the OpenGL ES `GL_RGBA8888` format.



---

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)