HelenOS sources

termui_color_from_rgb  189 uspace/app/terminal/terminal.c 	return termui_color_from_rgb(RED(pixel), GREEN(pixel), BLUE(pixel));
termui_color_from_rgb  137 uspace/lib/termui/include/termui.h termui_color_t termui_color_from_rgb(uint8_t r, uint8_t g, uint8_t b);
termui_color_from_rgb  367 uspace/lib/termui/src/termui.c 	assert(termui_color_from_rgb(*r, *g, *b) == c);
HelenOS homepage, sources at GitHub