I am trying to set a prompt for bash shell which is working however this particular system also uses Korn quite a bit.
echo ~/.profile -> export PS1="\[\033[38;5;10m\][\u@\h \W]\$ \[\]"
[root@mysystem ~]$ (in green)
[033[38;5;10m][u@h W]$  (default color)
I need to set it correctly for both shells.