Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rgb(3alleg4) [v7 man page]

RGB(3alleg4)							  Allegro manual						      RGB(3alleg4)

RGB - Single palette entry. Allegro game programming library. SYNOPSIS
#include <allegro.h> typedef struct RGB DESCRIPTION
unsigned char r, g, b; Palette entry. It contains an additional field for the purpose of padding but you should not usually care about it. Read chapter "Palette routines" for a description on how to obtain/use this structure. SEE ALSO
PALETTE(3alleg4), ex12bit(3alleg4), ex3d(3alleg4), excolmap(3alleg4), exconfig(3alleg4), expal(3alleg4), exrgbhsv(3alleg4), exscroll(3alleg4), exshade(3alleg4), extrans(3alleg4), extruec(3alleg4) Allegro version 4.4.2 RGB(3alleg4)
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to create & use a personal rgb.txt

Greetings -- I'm curious as to an effective way for a user (not root) to set-up a supplemental rgb.txt file for personal use on an X11 system. It's easy to set up the rgb.txt file (with only new colors) in my directory, but how can I use it in addition to the standard rgb.txt file. Thanks.... (0 Replies)
Discussion started by: slapshot_paulie
0 Replies

2. Programming

Xlib - Mapping Pixel Values to RGB Colors

Hi everyone... I'm working with XLib and I want to find out the pixel value of a particular point on screen and then map it to RGB values. I used XGetImage and XGetPixel to get the pixel value, but how do I get the RGB values of the pixel? I went through a few XLib manuals, there seems to be no... (1 Reply)
Discussion started by: thebin
1 Replies

3. Shell Programming and Scripting

awk (or) UNIX random RGB colors generator?

Dear UNIX Friends, I was wondering if there is a random RGB color generator or any function in any unix platforms. Please share your ideas. Thanks (2 Replies)
Discussion started by: jacobs.smith
2 Replies