How do I make the terminal background bright white?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












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


























    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
























      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




















          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,626516




                  2,626516























                      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

                          52.5k596167




                          52.5k596167



























                              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

                              How to check contact read email or not when send email to Individual?

                              Bahrain

                              Postfix configuration issue with fips on centos 7; mailgun relay