'Is there any way by which I can select my own hex colors to draw graphics in TURBO C++?

By default we have access to only 16 color while using graphics.h header file.

Is there any way I can manually add or select colors with the help of their hex code in Turbo C++ to draw some text/graphics?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source