Name
GetAllocConsoleColor -- get allocated color (V10.0)
Synopsis
color = GetAllocConsoleColor(c)
Library
console

Platforms
Linux, macOS, Windows

Function
This function returns the RGB color of a console color allocated using AllocConsoleColor(). You have to pass the color allocated by AllocConsoleColor() in the c parameter.

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

Inputs
c
allocated color to get
Results
color
allocated color as an RGB color

Show TOC