Is there any way to do this? I've searched all over and can't come up with anything. For instance, if the user's current window or window text color is black, how would I find that out programmatically?
EDIT:
I'm currently working on a project that parses Excel documents in Nodejs. According to this documentation, themes pull system colors for the current user. I'm aware that CSS2 had pretty much identical system color properties, but I need to know how to get that information within the context of my Nodejs program. So if the Excel file is stating "windowText," what would I use in Nodejs (if anything) to extract that information from the user's system profile? As far as I know, it's nothing to do with the terminal, but I could be wrong.
EDIT 2
The proposed answer/dupe at this post does not answer my question for two reasons:
- This has nothing to do with Nodejs, the library I'm specifically asking for (at least not that I could see)
- This answers how to find and manipulate terminal colors. Believe it or not, I actually know how to do that and it doesn't solve this problem for me. If one could elaborate how I could implement that solution into a Nodejs Excel parsing program to progrommatically pull actual color information from a user's system profile, I'd love to read it
Please review the edit along with the linked documentation above for more information about what I'm actually trying to accomplish.