Skip to content

FACEFortran Ansi Colors and Styles Environment

A KISS pure Fortran library for easy colorizing and stylizing strings.

Quick start ​

fortran
use face
character(len=:), allocatable :: error_message

error_message = colorize('error:', color_fg='red', style='underline_on')//' file not found!'

print '(A)', error_message
print '(A)', colorize('suggestion: check your configuration', color_fg='blue')

call colors_samples ! print samples of all colors available
call styles_samples ! print samples of all styles available

Authors ​

Contributions are welcome — see the Contributing page.

Copyrights ​

FACE is distributed under a multi-licensing system:

Anyone interested in using, developing, or contributing to FACE is welcome — pick the license that best fits your needs.