❔ Best way to convert rgb to ConsoleColor?
Hey, so I have a Console App, where I want to transition between 2 colors( and output the color as backgroundcolor). I have the main code from ChatGPT for test cases, and the RGBToConsoleColor from stackoverflow. However, the transition seems kinda buggy (when transitioning from black to white it goes
black, green, light gray, dark gray, white). Does anyone know a better/more accurate way to convert rgb values to ConsoleColor?