How do I make the terminal background bright white?Color schemes good for the eyesHow to change the...

Why in a Ethernet LAN, a packet sniffer can obtain all packets sent over the LAN?

Understanding basic photoresistor circuit

What can cause a never-frozen indoor copper drain pipe to crack?

Why did God specifically target the firstborn in the 10th plague (Exodus 12:29-36)?

How to pronounce "r" after a "g"?

Can I use my laptop, which says 240V, in the USA?

Thesis' "Future Work" section – is it acceptable to omit personal involvement in a mentioned project?

51% attack - apparently very easy? refering to CZ's "rollback btc chain" - How to make sure such corruptible scenario can never happen so easily?

Washer drain pipe overflow

Is there a faster way to calculate Abs[z]^2 numerically?

What did Rocket give Hawkeye in "Avengers: Endgame"?

Control variables and other independent variables

How do I tell my supervisor that he is choosing poor replacements for me while I am on maternity leave?

Why does TypeScript pack a Class in an IIFE?

Exception propagation: When to catch exceptions?

Is it a bad idea to replace pull-up resistors with hard pull-ups?

Looking for a simple way to manipulate one column of a matrix

How are one-time password generators like Google Authenticator different from having two passwords?

histogram using edges

How old is Captain America at the end of "Avengers: Endgame"?

Guns in space with bullets that return?

Ubuntu won't let me edit or delete .vimrc file

How to make a language evolve quickly?

International Code of Ethics for order of co-authors in research papers



How do I make the terminal background bright white?


Color schemes good for the eyesHow to change the background color of curses applications?Globally change terminal background in centos 7why are colors mixed up in CentOS 7 terminal?Background color whitespace when end of the terminal reachedDebian - How to change Terminal background colorsHow to substitute one color code for another in terminal?sed - find correct color sequence for ANSI extended 256 colorsHow to remap text color in terminalBright background in termcap






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















I am using:



setterm --foreground blue --background white --blink on


The result is that the text is blue on bright white. However, the background around the text is grey. How can I make the entire background bright white?










share|improve this question














bumped to the homepage by Community 24 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    2















    I am using:



    setterm --foreground blue --background white --blink on


    The result is that the text is blue on bright white. However, the background around the text is grey. How can I make the entire background bright white?










    share|improve this question














    bumped to the homepage by Community 24 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      2












      2








      2








      I am using:



      setterm --foreground blue --background white --blink on


      The result is that the text is blue on bright white. However, the background around the text is grey. How can I make the entire background bright white?










      share|improve this question














      I am using:



      setterm --foreground blue --background white --blink on


      The result is that the text is blue on bright white. However, the background around the text is grey. How can I make the entire background bright white?







      debian terminal colors






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 13 '16 at 14:35









      Z0qZ0q

      22816




      22816





      bumped to the homepage by Community 24 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 24 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          2 Answers
          2






          active

          oldest

          votes


















          0














          Depending on your terminal emulator, it may be possible to redefine the color "white" in the terminal's color scheme:



          echo -en "e]PFffffff"
          setterm --foreground blue --background white --blink on





          share|improve this answer































            0














            It depends on the terminal. As a rule, you cannot do this using "ANSI colors", because (while some terminals interpret the bold video attribute as "bright colors"), there is no standard way to change the brightness of the background.



            Some terminals support escape sequences for changing the color palette used by the terminal independently of "ANSI colors". Xterm does this, for instance, using the dynamic colors feature, which allows changing the default foreground and background colors (as well as a few other possibilities such as the cursor color). Those are summarized in the Operating System Controls section of XTerm Control Sequences:




            OSC Ps ; Pt ST
            OSC Ps ; Pt BEL
            Set Text Parameters. For colors and font, if Pt is a "?", the
            control sequence elicits a response which consists of the con-
            trol sequence which would set the corresponding value. The
            dtterm control sequences allow you to determine the icon name
            and window title.
            ...
            The 10 colors (below) which may be set or queried using 1 0
            through 1 9 are denoted dynamic colors, since the correspond-
            ing control sequences were the first means for setting xterm's
            colors dynamically, i.e., after it was started. They are not
            the same as the ANSI colors. These controls may be disabled
            using the allowColorOps resource. At least one parameter is
            expected for Pt. Each successive parameter changes the next
            color in the list. The value of Ps tells the starting point
            in the list. The colors are specified by name or RGB specifi-
            cation as per XParseColor.
            ...
            Ps = 1 0 -> Change VT100 text foreground color to Pt.
            Ps = 1 1 -> Change VT100 text background color to Pt.
            Ps = 1 2 -> Change text cursor color to Pt.
            Ps = 1 3 -> Change mouse foreground color to Pt.
            Ps = 1 4 -> Change mouse background color to Pt.
            Ps = 1 5 -> Change Tektronix foreground color to Pt.
            Ps = 1 6 -> Change Tektronix background color to Pt.
            Ps = 1 7 -> Change highlight background color to Pt.
            Ps = 1 8 -> Change Tektronix cursor color to Pt.
            Ps = 1 9 -> Change highlight foreground color to Pt.


            Lacking that feature, some other terminals allow changing the values of the "ANSI colors". Again, in xterm, still in the set of operating system controls:




            Ps = 4 ; c; spec -> Change Color Number c to the color spec-
            ified by spec. This can be a name or RGB specification as per
            XParseColor. Any number of c/spec pairs may be given. The
            color numbers correspond to the ANSI colors 0-7, their bright
            versions 8-15, and if supported, the remainder of the 88-color
            or 256-color table.


            While some other terminal emulators may implement one or both of these, as a rule they do not document that. You would have to experiment to find whether they work for other terminals.



            Along the same lines of the latter (modify values in the color palette), the Linux console supports a control sequence which can change its 16-color palette. Xterm does not support that control because it does not follow the formatting standard (ECMA-48).



            The xtermcontrol program supports some of these escape sequences, in particular the ones for dynamic color. But you can make a script, e.g.,



            #!/bin/sh
            printf '33]%s;%s07' $1 $2


            and set a color using that script



            myscript 11 rgb:ff/ff/ff


            Further reading:




            • Aren't bright colors the same as bold?

            • XTerm Control Sequences

            • XParseColor

            • console_codes - Linux console escape and control sequences

            • ECMA-48:
              Control Functions for Coded Character Sets

            • setterm - set terminal attributes






            share|improve this answer
























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "106"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f276201%2fhow-do-i-make-the-terminal-background-bright-white%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              Depending on your terminal emulator, it may be possible to redefine the color "white" in the terminal's color scheme:



              echo -en "e]PFffffff"
              setterm --foreground blue --background white --blink on





              share|improve this answer




























                0














                Depending on your terminal emulator, it may be possible to redefine the color "white" in the terminal's color scheme:



                echo -en "e]PFffffff"
                setterm --foreground blue --background white --blink on





                share|improve this answer


























                  0












                  0








                  0







                  Depending on your terminal emulator, it may be possible to redefine the color "white" in the terminal's color scheme:



                  echo -en "e]PFffffff"
                  setterm --foreground blue --background white --blink on





                  share|improve this answer













                  Depending on your terminal emulator, it may be possible to redefine the color "white" in the terminal's color scheme:



                  echo -en "e]PFffffff"
                  setterm --foreground blue --background white --blink on






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 13 '16 at 16:16









                  GuidoGuido

                  2,656617




                  2,656617

























                      0














                      It depends on the terminal. As a rule, you cannot do this using "ANSI colors", because (while some terminals interpret the bold video attribute as "bright colors"), there is no standard way to change the brightness of the background.



                      Some terminals support escape sequences for changing the color palette used by the terminal independently of "ANSI colors". Xterm does this, for instance, using the dynamic colors feature, which allows changing the default foreground and background colors (as well as a few other possibilities such as the cursor color). Those are summarized in the Operating System Controls section of XTerm Control Sequences:




                      OSC Ps ; Pt ST
                      OSC Ps ; Pt BEL
                      Set Text Parameters. For colors and font, if Pt is a "?", the
                      control sequence elicits a response which consists of the con-
                      trol sequence which would set the corresponding value. The
                      dtterm control sequences allow you to determine the icon name
                      and window title.
                      ...
                      The 10 colors (below) which may be set or queried using 1 0
                      through 1 9 are denoted dynamic colors, since the correspond-
                      ing control sequences were the first means for setting xterm's
                      colors dynamically, i.e., after it was started. They are not
                      the same as the ANSI colors. These controls may be disabled
                      using the allowColorOps resource. At least one parameter is
                      expected for Pt. Each successive parameter changes the next
                      color in the list. The value of Ps tells the starting point
                      in the list. The colors are specified by name or RGB specifi-
                      cation as per XParseColor.
                      ...
                      Ps = 1 0 -> Change VT100 text foreground color to Pt.
                      Ps = 1 1 -> Change VT100 text background color to Pt.
                      Ps = 1 2 -> Change text cursor color to Pt.
                      Ps = 1 3 -> Change mouse foreground color to Pt.
                      Ps = 1 4 -> Change mouse background color to Pt.
                      Ps = 1 5 -> Change Tektronix foreground color to Pt.
                      Ps = 1 6 -> Change Tektronix background color to Pt.
                      Ps = 1 7 -> Change highlight background color to Pt.
                      Ps = 1 8 -> Change Tektronix cursor color to Pt.
                      Ps = 1 9 -> Change highlight foreground color to Pt.


                      Lacking that feature, some other terminals allow changing the values of the "ANSI colors". Again, in xterm, still in the set of operating system controls:




                      Ps = 4 ; c; spec -> Change Color Number c to the color spec-
                      ified by spec. This can be a name or RGB specification as per
                      XParseColor. Any number of c/spec pairs may be given. The
                      color numbers correspond to the ANSI colors 0-7, their bright
                      versions 8-15, and if supported, the remainder of the 88-color
                      or 256-color table.


                      While some other terminal emulators may implement one or both of these, as a rule they do not document that. You would have to experiment to find whether they work for other terminals.



                      Along the same lines of the latter (modify values in the color palette), the Linux console supports a control sequence which can change its 16-color palette. Xterm does not support that control because it does not follow the formatting standard (ECMA-48).



                      The xtermcontrol program supports some of these escape sequences, in particular the ones for dynamic color. But you can make a script, e.g.,



                      #!/bin/sh
                      printf '33]%s;%s07' $1 $2


                      and set a color using that script



                      myscript 11 rgb:ff/ff/ff


                      Further reading:




                      • Aren't bright colors the same as bold?

                      • XTerm Control Sequences

                      • XParseColor

                      • console_codes - Linux console escape and control sequences

                      • ECMA-48:
                        Control Functions for Coded Character Sets

                      • setterm - set terminal attributes






                      share|improve this answer




























                        0














                        It depends on the terminal. As a rule, you cannot do this using "ANSI colors", because (while some terminals interpret the bold video attribute as "bright colors"), there is no standard way to change the brightness of the background.



                        Some terminals support escape sequences for changing the color palette used by the terminal independently of "ANSI colors". Xterm does this, for instance, using the dynamic colors feature, which allows changing the default foreground and background colors (as well as a few other possibilities such as the cursor color). Those are summarized in the Operating System Controls section of XTerm Control Sequences:




                        OSC Ps ; Pt ST
                        OSC Ps ; Pt BEL
                        Set Text Parameters. For colors and font, if Pt is a "?", the
                        control sequence elicits a response which consists of the con-
                        trol sequence which would set the corresponding value. The
                        dtterm control sequences allow you to determine the icon name
                        and window title.
                        ...
                        The 10 colors (below) which may be set or queried using 1 0
                        through 1 9 are denoted dynamic colors, since the correspond-
                        ing control sequences were the first means for setting xterm's
                        colors dynamically, i.e., after it was started. They are not
                        the same as the ANSI colors. These controls may be disabled
                        using the allowColorOps resource. At least one parameter is
                        expected for Pt. Each successive parameter changes the next
                        color in the list. The value of Ps tells the starting point
                        in the list. The colors are specified by name or RGB specifi-
                        cation as per XParseColor.
                        ...
                        Ps = 1 0 -> Change VT100 text foreground color to Pt.
                        Ps = 1 1 -> Change VT100 text background color to Pt.
                        Ps = 1 2 -> Change text cursor color to Pt.
                        Ps = 1 3 -> Change mouse foreground color to Pt.
                        Ps = 1 4 -> Change mouse background color to Pt.
                        Ps = 1 5 -> Change Tektronix foreground color to Pt.
                        Ps = 1 6 -> Change Tektronix background color to Pt.
                        Ps = 1 7 -> Change highlight background color to Pt.
                        Ps = 1 8 -> Change Tektronix cursor color to Pt.
                        Ps = 1 9 -> Change highlight foreground color to Pt.


                        Lacking that feature, some other terminals allow changing the values of the "ANSI colors". Again, in xterm, still in the set of operating system controls:




                        Ps = 4 ; c; spec -> Change Color Number c to the color spec-
                        ified by spec. This can be a name or RGB specification as per
                        XParseColor. Any number of c/spec pairs may be given. The
                        color numbers correspond to the ANSI colors 0-7, their bright
                        versions 8-15, and if supported, the remainder of the 88-color
                        or 256-color table.


                        While some other terminal emulators may implement one or both of these, as a rule they do not document that. You would have to experiment to find whether they work for other terminals.



                        Along the same lines of the latter (modify values in the color palette), the Linux console supports a control sequence which can change its 16-color palette. Xterm does not support that control because it does not follow the formatting standard (ECMA-48).



                        The xtermcontrol program supports some of these escape sequences, in particular the ones for dynamic color. But you can make a script, e.g.,



                        #!/bin/sh
                        printf '33]%s;%s07' $1 $2


                        and set a color using that script



                        myscript 11 rgb:ff/ff/ff


                        Further reading:




                        • Aren't bright colors the same as bold?

                        • XTerm Control Sequences

                        • XParseColor

                        • console_codes - Linux console escape and control sequences

                        • ECMA-48:
                          Control Functions for Coded Character Sets

                        • setterm - set terminal attributes






                        share|improve this answer


























                          0












                          0








                          0







                          It depends on the terminal. As a rule, you cannot do this using "ANSI colors", because (while some terminals interpret the bold video attribute as "bright colors"), there is no standard way to change the brightness of the background.



                          Some terminals support escape sequences for changing the color palette used by the terminal independently of "ANSI colors". Xterm does this, for instance, using the dynamic colors feature, which allows changing the default foreground and background colors (as well as a few other possibilities such as the cursor color). Those are summarized in the Operating System Controls section of XTerm Control Sequences:




                          OSC Ps ; Pt ST
                          OSC Ps ; Pt BEL
                          Set Text Parameters. For colors and font, if Pt is a "?", the
                          control sequence elicits a response which consists of the con-
                          trol sequence which would set the corresponding value. The
                          dtterm control sequences allow you to determine the icon name
                          and window title.
                          ...
                          The 10 colors (below) which may be set or queried using 1 0
                          through 1 9 are denoted dynamic colors, since the correspond-
                          ing control sequences were the first means for setting xterm's
                          colors dynamically, i.e., after it was started. They are not
                          the same as the ANSI colors. These controls may be disabled
                          using the allowColorOps resource. At least one parameter is
                          expected for Pt. Each successive parameter changes the next
                          color in the list. The value of Ps tells the starting point
                          in the list. The colors are specified by name or RGB specifi-
                          cation as per XParseColor.
                          ...
                          Ps = 1 0 -> Change VT100 text foreground color to Pt.
                          Ps = 1 1 -> Change VT100 text background color to Pt.
                          Ps = 1 2 -> Change text cursor color to Pt.
                          Ps = 1 3 -> Change mouse foreground color to Pt.
                          Ps = 1 4 -> Change mouse background color to Pt.
                          Ps = 1 5 -> Change Tektronix foreground color to Pt.
                          Ps = 1 6 -> Change Tektronix background color to Pt.
                          Ps = 1 7 -> Change highlight background color to Pt.
                          Ps = 1 8 -> Change Tektronix cursor color to Pt.
                          Ps = 1 9 -> Change highlight foreground color to Pt.


                          Lacking that feature, some other terminals allow changing the values of the "ANSI colors". Again, in xterm, still in the set of operating system controls:




                          Ps = 4 ; c; spec -> Change Color Number c to the color spec-
                          ified by spec. This can be a name or RGB specification as per
                          XParseColor. Any number of c/spec pairs may be given. The
                          color numbers correspond to the ANSI colors 0-7, their bright
                          versions 8-15, and if supported, the remainder of the 88-color
                          or 256-color table.


                          While some other terminal emulators may implement one or both of these, as a rule they do not document that. You would have to experiment to find whether they work for other terminals.



                          Along the same lines of the latter (modify values in the color palette), the Linux console supports a control sequence which can change its 16-color palette. Xterm does not support that control because it does not follow the formatting standard (ECMA-48).



                          The xtermcontrol program supports some of these escape sequences, in particular the ones for dynamic color. But you can make a script, e.g.,



                          #!/bin/sh
                          printf '33]%s;%s07' $1 $2


                          and set a color using that script



                          myscript 11 rgb:ff/ff/ff


                          Further reading:




                          • Aren't bright colors the same as bold?

                          • XTerm Control Sequences

                          • XParseColor

                          • console_codes - Linux console escape and control sequences

                          • ECMA-48:
                            Control Functions for Coded Character Sets

                          • setterm - set terminal attributes






                          share|improve this answer













                          It depends on the terminal. As a rule, you cannot do this using "ANSI colors", because (while some terminals interpret the bold video attribute as "bright colors"), there is no standard way to change the brightness of the background.



                          Some terminals support escape sequences for changing the color palette used by the terminal independently of "ANSI colors". Xterm does this, for instance, using the dynamic colors feature, which allows changing the default foreground and background colors (as well as a few other possibilities such as the cursor color). Those are summarized in the Operating System Controls section of XTerm Control Sequences:




                          OSC Ps ; Pt ST
                          OSC Ps ; Pt BEL
                          Set Text Parameters. For colors and font, if Pt is a "?", the
                          control sequence elicits a response which consists of the con-
                          trol sequence which would set the corresponding value. The
                          dtterm control sequences allow you to determine the icon name
                          and window title.
                          ...
                          The 10 colors (below) which may be set or queried using 1 0
                          through 1 9 are denoted dynamic colors, since the correspond-
                          ing control sequences were the first means for setting xterm's
                          colors dynamically, i.e., after it was started. They are not
                          the same as the ANSI colors. These controls may be disabled
                          using the allowColorOps resource. At least one parameter is
                          expected for Pt. Each successive parameter changes the next
                          color in the list. The value of Ps tells the starting point
                          in the list. The colors are specified by name or RGB specifi-
                          cation as per XParseColor.
                          ...
                          Ps = 1 0 -> Change VT100 text foreground color to Pt.
                          Ps = 1 1 -> Change VT100 text background color to Pt.
                          Ps = 1 2 -> Change text cursor color to Pt.
                          Ps = 1 3 -> Change mouse foreground color to Pt.
                          Ps = 1 4 -> Change mouse background color to Pt.
                          Ps = 1 5 -> Change Tektronix foreground color to Pt.
                          Ps = 1 6 -> Change Tektronix background color to Pt.
                          Ps = 1 7 -> Change highlight background color to Pt.
                          Ps = 1 8 -> Change Tektronix cursor color to Pt.
                          Ps = 1 9 -> Change highlight foreground color to Pt.


                          Lacking that feature, some other terminals allow changing the values of the "ANSI colors". Again, in xterm, still in the set of operating system controls:




                          Ps = 4 ; c; spec -> Change Color Number c to the color spec-
                          ified by spec. This can be a name or RGB specification as per
                          XParseColor. Any number of c/spec pairs may be given. The
                          color numbers correspond to the ANSI colors 0-7, their bright
                          versions 8-15, and if supported, the remainder of the 88-color
                          or 256-color table.


                          While some other terminal emulators may implement one or both of these, as a rule they do not document that. You would have to experiment to find whether they work for other terminals.



                          Along the same lines of the latter (modify values in the color palette), the Linux console supports a control sequence which can change its 16-color palette. Xterm does not support that control because it does not follow the formatting standard (ECMA-48).



                          The xtermcontrol program supports some of these escape sequences, in particular the ones for dynamic color. But you can make a script, e.g.,



                          #!/bin/sh
                          printf '33]%s;%s07' $1 $2


                          and set a color using that script



                          myscript 11 rgb:ff/ff/ff


                          Further reading:




                          • Aren't bright colors the same as bold?

                          • XTerm Control Sequences

                          • XParseColor

                          • console_codes - Linux console escape and control sequences

                          • ECMA-48:
                            Control Functions for Coded Character Sets

                          • setterm - set terminal attributes







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Apr 13 '16 at 20:31









                          Thomas DickeyThomas Dickey

                          54.5k5107183




                          54.5k5107183






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Unix & Linux Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f276201%2fhow-do-i-make-the-terminal-background-bright-white%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                              Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                              Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...