Use /etc/issue
Setting the color scheme in /etc/issue will change the tty colors before the login and it is shell independent.
It will look like this:
$ cat /etc/issue
\e[40m \e[8]
\e[37m \e[8]
\e]P0282a36
\e]P86272a4
\e]P1ff5555
\e]P9ff7777
\e]P250fa7b
\e]PA70fa9b
\e]P3f1fa8c
\e]PBffb86c
\e]P4bd93f9
\e]PCcfa9ff
\e]P5ff79c6
\e]PDff88e8
\e]P68be9fd
\e]PE97e2ff
\e]P7f8f8f2
\e]PFffffff
Arch Linux \r (\n) (\l)
Use /etc/issue
Setting the color scheme in /etc/issue will change the tty colors before the login and it is shell independent.
It will look like this: