Skip to content
A very simple class library that provides short-hand colored output
C# F# Shell Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
ColorConsole.Test Updated dependencies. Oct 14, 2015
ColorConsole Upped version to 1.0.1 Aug 21, 2015
.gitignore Added code coverage tools. These are only run in a non Mono environment. Oct 15, 2015
.travis.yml Remove pointless before_install commands in .travis.yml. Oct 15, 2015
License.txt Fix travis links & remove redundant lines from Dec 8, 2017
appveyor.yml Remove appveyor configuration. Currently hard-coded to Release in bui… Aug 21, 2015
build.cmd Added appveyor.yml and build.cmd Aug 20, 2015
paket.dependencies Added code coverage tools. These are only run in a non Mono environment. Oct 15, 2015


GitHub license

A very simple class library to aid in printing coloured output to the console.

Build Status

.Net Mono
master Build status Build Status
develop Build status Build Status


The public API is small. Simply create an instance of ConsoleWriter:

using System;
using ColorConsole;

var console = new ConsoleWriter();

and invoke the method of your choice:

console.Write("Be seeing you!", ConsoleColor.Yellow);
Best Practices

Ideally, you should rely on the IConsoleWriter type. This interface can then be used in conjunction with your favourite DI framework.


The main motivation was to reduce the typical boilerplate code involved to output colored text to the console. Quite often, you would see console applications defining/duplicating this behaviour in their own assembly each time it was required.


The easiest way to install ColorConsole is via Paket or Nuget.


Assuming your project has paket.exe under .paket/paket.exe


mono .paket/paket.exe add nuget ColorConsole


.paket/paket.exe add nuget ColorConsole


Install-Package ColorConsole

To Build

Acquire the source code.


Or if you don't have access to a bash env:



Logo credit to deadletterdesign

You can’t perform that action at this time.