set ws2811 to some color

Hi I want to control the color of my WS2811 LEDs via Serial Monitor.

How can I do that?
I can't get it to work by sending the HexHTML code and then parse it by using Serial.parseint().

This tutorial can https://www.arduino.cc/en/Tutorial/ReadASCIIString.

I would suggest to collect incoming serial data until CR into an char buffer[bigEnough];
an do the conversion via atoi() or similar.

parseInt blocks the execution, the above technique does not.

Is there any way of getting the color by reading r, g and b from serial using parseint?
something like:
int r = Serial.parseint();
int g = Serial.parseint();
int b = Serial.parseint();

CRGB::ColorfromRGB(r, g, b);

That would be one way, absolutely.

Whandall:
That would be one way, absolutely.

but how do I do that?
I don't know if there is some function like ColorfromRGB (didn't find one).

FOUND A SOLUTION:

Great.

The definitions are in pixeltypes.h and probably already include by FastLED.h.