Takes a colour and, if it deems it is too dark to see on a black terminal background, makes it brighter.
Reference to a red value.
Reference to a green value.
Reference to a blue value.
int r = 255; int g = 128; int b = 100; normaliseColours(r, g, b); assert(r != 255); assert(g != 128); assert(b != 100);
Takes a colour and, if it deems it is too dark to see on a black terminal background, makes it brighter.