if [ $2 != undefined ]; then
	if [ $1 == 'bold' ]; then
		 echo '\x1B[1m$2\x1B[22m'
	elif [ $1 == 'italic' ]; then
		 echo '\x1B[3m$2\x1B[23m'
	elif [ $1 == 'underline' ]; then
		 echo '\x1B[4m$2\x1B[24m'
	elif [ $1 == 'inverse' ]; then
		 echo '\x1B[7m$2\x1B[27m'
	elif [ $1 == 'strikethrough' ]; then
		 echo '\x1B[9m$2\x1B[29m'
	elif [ $1 == 'white' ]; then
		 echo '\x1B[37m$2\x1B[39m'
	elif [ $1 == 'grey' ]; then
		 echo '\x1B[90m$2\x1B[39m'
	elif [ $1 == 'black' ]; then
		 echo '\x1B[30m$2\x1B[39m'
	elif [ $1 == 'blue' ]; then
		 echo '\x1B[34m$2\x1B[39m'
	elif [ $1 == 'cyan' ]; then
		 echo '\x1B[36m$2\x1B[39m'
	elif [ $1 == 'green' ]; then
		 echo '\x1B[32m$2\x1B[39m'
	elif [ $1 == 'magenta' ]; then
		 echo '\x1B[35m$2\x1B[39m'
	elif [ $1 == 'red' ]; then
		 echo '\x1B[31m$2\x1B[39m'
	elif [ $1 == 'yellow' ]; then
		 echo '\x1B[33m$2\x1B[39m'
	elif [ $1 == 'whiteBG' ]; then
		 echo '\x1B[47m$2\x1B[49m'
	elif [ $1 == 'greyBG' ]; then
		 echo '\x1B[49;5;8m$2\x1B[49m'
	elif [ $1 == 'blackBG' ]; then
		 echo '\x1B[40m$2\x1B[49m'
	elif [ $1 == 'blueBG' ]; then
		 echo '\x1B[44m$2\x1B[49m'
	elif [ $1 == 'cyanBG' ]; then
		 echo '\x1B[46m$2\x1B[49m'
	elif [ $1 == 'greenBG' ]; then
		 echo '\x1B[42m$2\x1B[49m'
	elif [ $1 == 'magentaBG' ]; then
		 echo '\x1B[45m$2\x1B[49m'
	elif [ $1 == 'redBG' ]; then
		 echo '\x1B[41m$2\x1B[49m'
	elif [ $1 == 'yellowBG' ]; then
		 echo '\x1B[43m$2\x1B[49m'
	fi
elif [ $1 == "help" ]; then
	echo "bold italic underline inverse strikethrough white grey black blue cyan grenn magenta red yellow whiteBG greyBG blackBG blueBG cyanBG greenBG magentaBG redBG yellowBG"
elif [ $1 != undefined ]; then
	echo $1
fi
