---
name: "set_color_blender"
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/set_color_blender"
---

# set\_color\_blender(3alleg)

Enables a color blender mode. Allegro game programming library.

## NAME

set\_color\_blender - Enables a color blender mode. Allegro game programming library.

## SYNOPSIS

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

**void set\_color\_blender(int r, int g, int b, int a);**

## DESCRIPTION

Enables a color blender mode for combining translucent or lit truecolor  pixels. Applies only the hue and saturation of the source image to the  destination image. The luminance of the destination image is not affected.

## SEE ALSO

[**set\_trans\_blender**(3alleg)](/set_trans_blender/3alleg.md), [**drawing\_mode**(3alleg)](/drawing_mode/3alleg.md)
