Skip to content

Instantly share code, notes, and snippets.

@AAdewunmi
Last active October 26, 2022 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AAdewunmi/284e8556e34263c7a7ce8cbc0cbfbb86 to your computer and use it in GitHub Desktop.
Save AAdewunmi/284e8556e34263c7a7ce8cbc0cbfbb86 to your computer and use it in GitHub Desktop.
Colour Text For README.md

This code will change the colour of text / background of text in a README.md file.

$$\color{black}{Black}$$ $$\color{blue}{Blue}$$ $$\color{brown}{Brown}$$ $$\color{darkgray}{Darkgray}$$ $$\color{gray}{Gray}$$
$$\color{lightgray}{Lightgray}$$ $$\color{green}{Green}$$ $$\color{brown}{Brown}$$ $$\color{lime}{Lime}$$ $$\color{magenta}{Magenta}$$
$$\color{olive}{Olive}$$ $$\color{orange}{Orange}$$ $$\color{pink}{Pink}$$ $$\color{purple}{Purple}$$ $$\color{red}{Red}$$
$$\color{teal}{Teal}$$ $$\color{violet}{Violet}$$ $$\color{white}{White}$$ $$\color{yellow}{Yellow}$$ $$\color{BurntOrange}{MBurntOrange}$$
$$\color{white} \colorbox{Green} {White on Green} $$ $$\color{purple} \fcolorbox{red}{white} {Purple on White} $$ $$\color{black} \fcolorbox{white} {red} {Black on Red} $$ $$\color{black} \fcolorbox{red}{white} {Black on White} $$ $$\color{black} \colorbox{BurntOrange} {orange background} $$
$$\color{Magenta} \fcolorbox{red}{white} {Magenta on White} $$ $$\color{green} \fcolorbox{red}{white} {Green on White} $$ $$\color{lime} \fcolorbox{white}{red} {Lime on Red} $$ $$\color{Orange} \fcolorbox{white}{black} {Orange on Black} $$ $$\color{blue} \fcolorbox{white}{red} {Blue on White} $$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment