Name
SetAllocConsoleColor -- change allocated color (V10.0)
Synopsis
SetAllocConsoleColor(c, color)
Library
console

Platforms
Linux, macOS, Windows

Function
This function changes a color allocated using AllocConsoleColor(). You have to pass the color allocated by AllocConsoleColor() in the c parameter and the new color in the color parameter (as an RGB color).

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

Inputs
c
allocated color to modify
color
new color as an RGB color

Show TOC