al_color_rgb_to_oklab(3)

πŸ“¦
version 5.2.11.3 Β· 2 versions
, in arch rolling

🌈 NAME 🌈

Okay so bestie, this is al_color_rgb_to_oklab, and it’s part of the Allegro 5 API. This page comes from the Library Functions Manual in the Allegro reference manual, and it’s here to introduce the function that does exactly what the name says. πŸ’…

  • al_color_rgb_to_oklab β€” Allegro 5 API

✨ SYNOPSIS ✨

#include <allegro5/allegro_color.h>

void al_color_rgb_to_oklab(float red, float green, float blue,
   float *ol, float *oa, float *ob)

πŸŽ€ DESCRIPTION πŸŽ€

This one converts RGB values to the Oklab color space. That’s the whole assignment, and it ate. ✨

You hand it red, green, and blue, plus pointers ol, oa, and ob, and it does the RGB-to-Oklab glow-up. No cap. πŸ¦‹


🌸 SINCE 🌸

Available since 5.2.8, periodt. 🫢


πŸ’– SEE ALSO πŸ’–


Source check: Allegro reference manual. Version check: 5.2.8 is the SINCE value, and the footer doesn’t list a date β€” so no invented date from me, bestie. πŸ’œπŸŽ€

πŸ“¦ 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