---
name: "geta32"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/geta32/3alleg4"
---

# geta32(3alleg4)

Extract the alpha component form a 32-bit pixel format color. Allegro game programming library.

## NAME

geta32 - Extract the alpha component form a 32-bit pixel format color. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int geta32(int c);**

## DESCRIPTION

Given a color in a 32-bit pixel format, this function extracts the alpha  component (ranging 0-255).

## SEE ALSO

**getr8**(3alleg4)
