ALLEGRO_COLOR

typedef struct ALLEGRO_COLOR ALLEGRO_COLOR;
Introduced in 5.0.0

An ALLEGRO_COLOR structure describes a color in a device independant way. Use al_map_rgb et al. and al_unmap_rgb et al. to translate from and to various color representations.

Examples: ex_blend, ex_blend2, ex_blend_test, ex_blit, ex_clip, ex_display_options, ex_draw, ex_drawpixels, ex_draw_bitmap, ex_filter, ex_fs_resize, ex_fs_window, ex_gp2xwiz, ex_haiku, ex_joystick_events, ex_keyboard_focus, ex_lines, ex_logo, ex_mouse, ex_mouse_events, ex_mouse_focus, ex_native_filechooser, ex_nodisplay, ex_premulalpha, ex_prim, ex_resize, ex_rotate, ex_scale, ex_stream_seek, ex_threads, ex_transform, ex_ttf, ex_vsync, ex_warp_mouse


Most helpful discussions:

Other recent discussions: