Name
FreeConsoleColor -- free console color (V10.0)
Synopsis
FreeConsoleColor(color)
Library
console

Platforms
Linux, macOS, Windows

Function
This function frees the console color allocated by AllocConsoleColor(). It is important to call this function when you no longer need a color to make sure that you don't run out of colors.

You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.

Inputs
color
color to free; this must have been allocated by AllocConsoleColor()

Show TOC