HelenOS sources
GREEN 39 boot/genarch/src/ofw.c #define GREEN(i) (((i) >> 3) & ((1 << 2) - 1))
GREEN 32 contrib/tools/gen_vga323.c #define GREEN(i) (((i) >> 3) & ((1 << 2) - 1))
GREEN 62 kernel/genarch/src/fb/fb.c #define GREEN(x, bits) (((x) >> (8 + 8 - (bits))) & ((1 << (bits)) - 1))
GREEN 48 uspace/lib/c/include/io/pixel.h #define GREEN(pixel) (((pixel) & 0x0000ff00) >> 8)
GREEN 48 uspace/lib/posix/include/libc/io/pixel.h #define GREEN(pixel) (((pixel) & 0x0000ff00) >> 8)
HelenOS homepage, sources at GitHub