from Hacker News

Terminal Colors

by nkjoep on 5/5/25, 6:49 PM with 1 comments

  • by JdeBP on 5/5/25, 11:22 PM

    That printf command is, strictly, wrong. It was pointed out some years ago, when people started adopting this, that ITU T.416 has a colour space parameter before the RGB values.

    A few terminal emulators nowadays get this right and accept the full 9-parameter form, with colons.