al_color_linear_to_rgb(3)

al_color_linear_to_rgb3

Allegro 5 api

Usage

#include <allegro5/allegro_color.h>
void al_color_linear_to_rgb(float r, float g, float b,
    float *red, float *green, float *blue)

Overview

Convert linear sRGB color values to gamma corrected (i.e. normal) RGB values.

Since

5.2.8

From allegro 5.2.11.3-2 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.