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