RGB code Problem

I agree.
Change String value = "";
to

char value;

and change

Serial.readString()

to

Serial.read()

and replace all your double-quotes with single-quotes.

Paul