---
title: "glColor4x(_:_:_:_:)"
framework: OpenGL ES
role: symbol
role_heading: Function
platforms: [iOS 2.0+, iPadOS 2.0+, Mac Catalyst 2.0+, tvOS 9.0+]
path: "opengles/glcolor4x(_:_:_:_:)"
---

# glColor4x(_:_:_:_:)

## Declaration

```swift
func glColor4x(_ red: GLfixed, _ green: GLfixed, _ blue: GLfixed, _ alpha: GLfixed)
```
