Can't call a FastLED function outside the "void loop()" function

Av8ter:
Hello,
Would someone please tell me why the first sketch compiles, runs, and correctly lights the appropriate leds, while the second sketch compiles without errors, but does nothing? Thanks.

Because

void redLeds();
void greenLeds();
void blueLeds();
void whiteLeds();

inside loop() is wrong
and should be

redLeds();
greenLeds();
blueLeds();
whiteLeds();

and you need to declare

redLeds, greenLeds , blueLeds, whiteLeds functions