• ANSI COLORS IN BIBLE

    From shinobi@21:1/153 to All on Mon Feb 19 21:36:40 2018
    Hello All,

    I just wonder. I'm kind of playing around with the Bible and trying to bring some refreshing colors to it. I've got an ANSI simple viewer with bookmarking. But why am I writing. I tried some simple expressions in vim like:

    :%s/^Chapter\ \(\d\+\)\ /^[[1m^[[92mChapter ^[[1m^[[33m\1 ^[[1m^[[32m/g :%s/\*\*\*$/\*\*\*^[[1m^[[32m/g
    :%s/^\*\*\*/^[[1m^[[33m\*\*\*/g

    That somehow colors it a bit. But is there way to use more colors than the basic red, green, magenta, cyan and yellow? I saw these codes on Wikipedia
    but there aren't much more above 9x that works. Is there a reason for it?

    Thanks & best regards

    Shinobi

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)
  • From GeekDoctor@21:1/125 to shinobi on Tue Feb 20 20:49:22 2018
    That somehow colors it a bit. But is there way to use more colors t
    han the
    basic red, green, magenta, cyan and yellow? I saw these codes on Wi
    kipedia
    but there aren't much more above 9x that works. Is there a reason f
    or it?

    ANSI in itself doesn't have a lot of colors to work from.

    Black, Dark Blue, Dark Green, Dark Cyan, Red, Magenta, Brown, Grey,
    Dark Grey, Light Blue, Light Green, Light Cyan, Light Red, Light
    magenta, Yellow and White.

    Those are all the foreground colors available. Most readable are the
    light colors, although Dark Cyan was exactly what old monochrome
    monitors were and that is readable without straining the eyes.

    --- MagickaBBS v0.10alpha (Linux/x86_64)
    * Origin: Exotica BBS - telnet://exoticabbs.com:2023/ (21:1/125)