|
LumaOS
v0.1.116
An experimental x86-64 OS
|
Color utilities. More...
#include <lib/color.h>Go to the source code of this file.
Functions | |
| struct rgb | get_rgb (uint8_t r, uint8_t g, uint8_t b) |
| Creates an RGB color value from the 3 separate colors. | |
| struct rgb | add_rgb (struct rgb a, struct rgb b) |
| Adds two RGB color values. | |
| struct rgb | sub_rgb (struct rgb a, struct rgb b) |
| Subtracts the second RGB color from the first. | |
Color utilities.
Definition in file color.c.
| struct rgb get_rgb | ( | uint8_t | r, |
| uint8_t | g, | ||
| uint8_t | b ) |