add terminal color operation for bash script.