al_color_name
ALLEGRO_COLOR al_color_name(char const *name)
Introduced in 5.0.0
Return an ALLEGRO_COLOR with the given name. If the color is not found then black is returned.
See al_color_name_to_rgb for the list of names.
Examples: ex_blit, ex_clip, ex_draw, ex_native_filechooser
Most helpful discussions:
- Same code - slow on Windows, fast on Linux - timer fires too slow?
- Quick Question about MSAA
- Implementing a simple skybox.
- What is the error in following little program
- How to use al_calc_elliptical_arc?
- [A5] Fullscreen + keep 4:3 ratio
- ALLEGRO_TRANSFORM and Movement
- [a5] al_create_bitmap() not creating mipmap in OPENGL
- [a5] Multisampling not working in Direct3D
- Best algorithm for shadow casting on a 2-D grid?
Other recent discussions:
- Making color variables
- Smooth lines using Primitives addon
- [a5] rendering to display bitmap with multisampling in directx
- POB Global Competition Thread [Joke Thread NOT SERIOUS!]
- to static or not to static?
- Lighting and Allegro 5
- Use embedded bitmap with Allegro 5
- wip screenshot fun
- Drawing primitives with antialiasing and multisampling
- al_draw_line draw wrong line.