GithubHelp home page GithubHelp logo

basemax / colorizetext Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 41 KB

Some ways for colorizing the text in different operating system.

License: GNU General Public License v3.0

C 100.00%
color colorization linux-color windows-color bash-color bash-colors

colorizetext's Introduction

ColorizeText

Some ways for colorizing the text in different operating system.

Red='\033[0;31m' 
Black='\033[0;30m'     
Dark_Gray='\033[1;30m'    
Light_Red='\033[1;31m'
Green='\033[0;32m'     
Light_Green='\033[1;32m'
Brown_Orange='\033[0;33m'     
Yellow='\033[1;33m'
Blue='\033[0;34m'     
Light_Blue='\033[1;34m'
Purple='\033[0;35m'     
Light_Purple='\033[1;35m'
Cyan='\033[0;36m'     
Light_Cyan='\033[1;36m'
Light_Gray='\033[0;37m'     
White='\033[1;37m'
std::cout << "\033[0;31mError.\n"

Colors Table

Code Color
[0;31m Red
[1;31m Bold Red
[0;32m Green
[1;32m Bold Green
[0;33m Yellow
[01;33m Bold Yellow
[0;34m Blue
[1;34m Bold Blue
[0;35m Magenta
[1;35m Bold Magenta
[0;36m Cyan
[1;36m Bold Cyan
[0m Reset
Color Value
BLACK 0
BLUE 1
GREEN 2
CYAN 3
RED 4
MAGENTA 5
BROWN 6
LIGHTGRAY 7
DARKGRAY 8
LIGHTBLUE 9
LIGHTGREEN 10
LIGHTCYAN 11
LIGHTRED 12
LIGHTMAGENTA 13
YELLOW 14
WHITE 15

Similar Projects

Similar Articles

colorizetext's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

millidevx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.