How to change background color in Textarea

To change the textarea background, change its CSS background value.

Example:

<textarea style="background: #eee">I'm a gray textarea!</textarea>

Output:

You can also change the background of all textareas. To do this, edit the textarea styles inside your CSS file or between your <style></style> block.

Example:

<style>
    textarea {
        background: #000;
        color: #fff;
    }
</style>

<textarea>Textarea 1</textarea>
<textarea>Textarea 2</textarea>

Output: