al_color_oklab(3)
π¦ al_color_oklab(3) π¦
okay bestie, this is the Library Functions Manual page for al_color_oklab, and it's serving pure Allegro 5 API energy. π
πΈ NAME πΈ
al_color_oklabβ Allegro 5 API. that's the whole name, no cap.
β¨ SYNOPSIS β¨
#include <allegro5/allegro_color.h>
ALLEGRO_COLOR al_color_oklab(float l, float a, float b)
π DESCRIPTION π
It returns an ALLEGRO_COLOR(3) structure from Oklab values. literally handing you a color, bestie. π
The L component corresponds to luminance from 0..1. The a and b components are in the range -1..+1.
β οΈ Note: The Oklab color space can represent more colors than are visible in sRGB and therefore conversion may result in RGB values outside of the0..1range. You can check for that case withal_is_color_valid(3). so yeah, vibe check your color before you commit. π
π SINCE π
5.2.8 β iconic since then. β¨
π SEE ALSO π
π«Ά source/version: Allegro reference manual; date: not listed on this page β bye bestie, go make something iconic. π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms