Documentation Tutorial Text Colors Foreground Colors Standard Colors Full Text Functions for Foreground Colors Color Maps Normal Colors Color Full Text Function Example green("text")
This is GREEN!
yellow("text")
This is YELLOW!
red("text")
This is RED!
magenta("text")
This is MAGENTA!
blue("text")
This is BLUE!
cyan("text")
This is CYAN!
white("text")
This is WHITE!
black("text")
This is BLACK!
Example Python from colorist import green , yellow , red
green ( "This is GREEN!" )
yellow ( "This is YELLOW!" )
red ( "This is RED!" )
How it appears in the terminal:
% This is GREEN!
% This is YELLOW!
% This is RED!
Bright Colors Color Full Text Function Example bright_green("text")
This is BRIGHT GREEN!
bright_yellow("text")
This is BRIGHT YELLOW!
bright_red("text")
This is BRIGHT RED!
bright_magenta("text")
This is BRIGHT MAGENTA!
bright_blue("text")
This is BRIGHT BLUE!
bright_cyan("text")
This is BRIGHT CYAN!
bright_white("text")
This is BRIGHT WHITE!
bright_black("text")
This is BRIGHT BLACK!
Limited Support for Bright Colors
Note that bright colors are supported by many terminals , yet not all as bright colors aren't part of the standard set of ANSI colors.
Example Python from colorist import bright_green , bright_yellow , bright_red
bright_green ( "This is BRIGHT GREEN!" )
bright_yellow ( "This is BRIGHT YELLOW!" )
bright_red ( "This is BRIGHT RED!" )
How it appears in the terminal:
% This is BRIGHT GREEN!
% This is BRIGHT YELLOW!
% This is BRIGHT RED!
Functions
black ( text )
Prints full line of black text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import black
black ( "This is BLACK!" )
How it appears in the terminal:
% This is BLACK!
blue ( text )
Prints full line of blue text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import blue
blue ( "This is BLUE!" )
How it appears in the terminal:
% This is BLUE!
cyan ( text )
Prints full line of cyan text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import cyan
cyan ( "This is CYAN!" )
How it appears in the terminal:
% This is CYAN!
green ( text )
Prints full line of green text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import green
green ( "This is GREEN!" )
How it appears in the terminal:
% This is GREEN!
magenta ( text )
Prints full line of magenta text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import magenta
magenta ( "This is MAGENTA!" )
How it appears in the terminal:
% This is MAGENTA!
red ( text )
Prints full line of red text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import red
red ( "This is RED!" )
How it appears in the terminal:
% This is RED!
white ( text )
Prints full line of white text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import white
white ( "This is WHITE!" )
How it appears in the terminal:
% This is WHITE!
yellow ( text )
Prints full line of yellow text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import yellow
yellow ( "This is YELLOW!" )
How it appears in the terminal:
% This is YELLOW!
bright_black ( text )
Prints full line of bright black text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import bright_black
bright_black ( "This is BRIGHT BLACK!" )
How it appears in the terminal:
% This is BRIGHT BLACK!
bright_blue ( text )
Prints full line of bright blue text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import bright_blue
bright_blue ( "This is BRIGHT BLUE!" )
How it appears in the terminal:
% This is BRIGHT BLUE!
bright_cyan ( text )
Prints full line of bright cyan text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import bright_cyan
bright_cyan ( "This is BRIGHT CYAN!" )
How it appears in the terminal:
% This is BRIGHT CYAN!
bright_green ( text )
Prints full line of bright green text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import bright_green
bright_green ( "This is BRIGHT GREEN!" )
How it appears in the terminal:
% This is BRIGHT GREEN!
bright_magenta ( text )
Prints full line of bright magenta text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import bright_magenta
bright_magenta ( "This is BRIGHT MAGENTA!" )
How it appears in the terminal:
% This is BRIGHT MAGENTA!
bright_red ( text )
Prints full line of bright red text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import bright_red
bright_red ( "This is BRIGHT RED!" )
How it appears in the terminal:
% This is BRIGHT RED!
bright_white ( text )
Prints full line of bright white text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import bright_white
bright_white ( "This is BRIGHT WHITE!" )
How it appears in the terminal:
% This is BRIGHT WHITE!
bright_yellow ( text )
Prints full line of bright yellow text.
Parameters:
Name Type Description Default text
str
Text to be printed with color.
required
Example from colorist import bright_yellow
bright_yellow ( "This is BRIGHT YELLOW!" )
How it appears in the terminal:
% This is BRIGHT YELLOW!