## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# csutil/ansicolor.h File Reference

ANSI codes for colors. More...

Go to the source code of this file.

## Background colors

#define | CS_ANSI_BB "\033[44m"
| Blue.
#define | CS_ANSI_BC "\033[46m"
| Cyan.
#define | CS_ANSI_BG "\033[42m"
| Green.
#define | CS_ANSI_BK "\033[40m"
| Black.
#define | CS_ANSI_BM "\033[45m"
| Magenta.
#define | CS_ANSI_BR "\033[41m"
| Red.
#define | CS_ANSI_BW "\033[47m"
| White.
#define | CS_ANSI_BY "\033[43m"
| Yellow.

## Foreground colors

#define | CS_ANSI_FB "\033[34m"
| Blue.
#define | CS_ANSI_FC "\033[36m"
| Cyan.
#define | CS_ANSI_FG "\033[32m"
| Green.
#define | CS_ANSI_FK "\033[30m"
| Black.
#define | CS_ANSI_FM "\033[35m"
| Magenta.
#define | CS_ANSI_FR "\033[31m"
| Red.
#define | CS_ANSI_FW "\033[37m"
| White.
#define | CS_ANSI_FY "\033[33m"
| Yellow.

## Defines

#define | CS_ANSI_FI "\033[1m"
| Bold or intense foreground text on.
#define | CS_ANSI_FI_OFF "\033[22m"
| Bold or intense foreground text off.
#define | CS_ANSI_RST "\033[0m"
| Reset custom set colors.

## Detailed Description

ANSI codes for colors.

Can be passed to csPrintf() for colored text output.

Definition in file ansicolor.h.

## Define Documentation

#define CS_ANSI_BB "\033[44m"

| Blue. Definition at line 66 of file ansicolor.h.

#define CS_ANSI_BC "\033[46m"

| Cyan. Definition at line 70 of file ansicolor.h.

#define CS_ANSI_BG "\033[42m"

| Green. Definition at line 62 of file ansicolor.h.

#define CS_ANSI_BK "\033[40m"

| Black. Definition at line 58 of file ansicolor.h. Referenced by csReporterHelper::ReportV().

#define CS_ANSI_BM "\033[45m"

| Magenta. Definition at line 68 of file ansicolor.h.

#define CS_ANSI_BR "\033[41m"

| Red. Definition at line 60 of file ansicolor.h.

#define CS_ANSI_BW "\033[47m"

| White. Definition at line 72 of file ansicolor.h.

#define CS_ANSI_BY "\033[43m"

| Yellow. Definition at line 64 of file ansicolor.h.

#define CS_ANSI_FB "\033[34m"

| Blue. Definition at line 41 of file ansicolor.h.

#define CS_ANSI_FC "\033[36m"

| Cyan. Definition at line 45 of file ansicolor.h.

#define CS_ANSI_FG "\033[32m"

| Green. Definition at line 37 of file ansicolor.h.

#define CS_ANSI_FI "\033[1m"

| Bold or intense foreground text on. Definition at line 51 of file ansicolor.h. Referenced by csReporterHelper::ReportV().

#define CS_ANSI_FI_OFF "\033[22m"

| Bold or intense foreground text off. Definition at line 53 of file ansicolor.h.

#define CS_ANSI_FK "\033[30m"

| Black. Definition at line 33 of file ansicolor.h.

#define CS_ANSI_FM "\033[35m"

| Magenta. Definition at line 43 of file ansicolor.h. Referenced by csReporterHelper::ReportV().

#define CS_ANSI_FR "\033[31m"

| Red. Definition at line 35 of file ansicolor.h. Referenced by csReporterHelper::ReportV().

#define CS_ANSI_FW "\033[37m"

| White. Definition at line 47 of file ansicolor.h. Referenced by csReporterHelper::ReportV().

#define CS_ANSI_FY "\033[33m"

| Yellow. Definition at line 39 of file ansicolor.h. Referenced by csReporterHelper::ReportV().

#define CS_ANSI_RST "\033[0m"

| Reset custom set colors. Definition at line 28 of file ansicolor.h. Referenced by csReporterHelper::ReportV().