All Projects → Jackojc → tinge

Jackojc / tinge

Licence: MIT License
a simple, fast, header-only library for C++ which enables pretty colours on the terminal.

Programming Languages

C++
36643 projects - #6 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to tinge

Chromatism
🌈 A simple set of utility functions for colours.
Stars: ✭ 1,763 (+12492.86%)
Mutual labels:  colour
filterCSV
Tools to manipulate CSV files in a format suitable for importing into various mindmapping programs - such as iThoughts, Freemind, and MindNode.
Stars: ✭ 29 (+107.14%)
Mutual labels:  colour
distinctipy
A lightweight package for generating visually distinct colours.
Stars: ✭ 125 (+792.86%)
Mutual labels:  colour
ConsoleTools
A set of tools and "controls" for the .net Console.
Stars: ✭ 67 (+378.57%)
Mutual labels:  input-output
colr pickr
Colr Pickr, a vanilla JavaScript color picker component built with SVGs, with features like saving colors. Similar design to the chrome-dev-tools color picker.
Stars: ✭ 27 (+92.86%)
Mutual labels:  colour
shades
Simple colour manipulation in R
Stars: ✭ 70 (+400%)
Mutual labels:  colour
php-invert-color
Invert a given color.
Stars: ✭ 13 (-7.14%)
Mutual labels:  colour
icc
JavaScript module to parse International Color Consortium (ICC) profiles
Stars: ✭ 37 (+164.29%)
Mutual labels:  colour
colored-console
🌈 Add some color to your console >_
Stars: ✭ 74 (+428.57%)
Mutual labels:  colour
prismatic
color manipulation R package Simply and Tidy
Stars: ✭ 121 (+764.29%)
Mutual labels:  colour
tc-lib-color
PHP library to manipulate various color representations
Stars: ✭ 19 (+35.71%)
Mutual labels:  colour
SwiftColorWheel
Delightful color picker wheel for iOS in Swift.
Stars: ✭ 37 (+164.29%)
Mutual labels:  colour
leeks.js
Simple ANSI styling for your terminal
Stars: ✭ 12 (-14.29%)
Mutual labels:  colour
CBioInfCpp-0-
The lib CBioInfCpp.h contains 3 groups of functions for C++: "Input-Output", "Working with strings", "Working with graphs". Data structures "Adjacency vector" and "Adjacency map" are implemented in the last one (i.e. in "Working with graphs"). See About_CBioInfCpp for details.
Stars: ✭ 12 (-14.29%)
Mutual labels:  input-output
colour-notebooks
Colour - Jupyter Notebooks
Stars: ✭ 21 (+50%)
Mutual labels:  colour
Super-Simple-RGB-WiFi-Lamp
A project based on the ESP8266 and WS2812b
Stars: ✭ 61 (+335.71%)
Mutual labels:  colour
css-art-gallery
A collection of CSS Arts.
Stars: ✭ 127 (+807.14%)
Mutual labels:  colour
stellarized
✦ paint vim with the stars ✦
Stars: ✭ 70 (+400%)
Mutual labels:  colour
colour
Validate colours.
Stars: ✭ 31 (+121.43%)
Mutual labels:  colour
colour-nuke
Colour - Nuke
Stars: ✭ 145 (+935.71%)
Mutual labels:  colour

tinge

a simple, fast, header-only library for C++ which enables pretty colours on the terminal.

Requirements

  • Only supports terminals which have support for ANSI escape sequences.
  • C++17 compiler needed.
  • Works on Linux and Windows 10.

Examples

example1

Code

// Core functions.
tinge::print("printing!\n");
tinge::log("logging!\n");
tinge::err("errors!\n");

// Logging.
tinge::notice("notice!\n");
tinge::warn("warning!\n");
tinge::error("error!\n");
tinge::success("success!\n");

// All of the above have newline versions. i.e. `println();`


// Use styles.
tinge::println(tinge::bold, "emphasis");


// Use indentation.
tinge::warnln(tinge::before{tinge::tab(2)}, "2 tabs");
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].