logoalt Hacker News

JoshTriplettyesterday at 5:01 PM1 replyview on HN

It's not recent, and most terminals support it. You send an escape sequence to the terminal, and get back a sequence that tells you the exact background color.


Replies

takluyveryesterday at 6:07 PM

Huh, indeed. I still can't find much information about this, but this page is very informative: https://jwodder.github.io/kbits/posts/term-fgbg/