---
name: "geta32"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/geta32"
---

# geta32(3alleg)

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**(3alleg)](/getr8/3alleg.md)
