Tech, business, and useful tricks.
Vheüel Insight Network

How to Customize Termux Colors: From Quick Themes to a Full Custom Palette

•2 min read

Termux's default look is a plain black screen with white text. It works, but it gets boring fast. You can change the colors in a couple of minutes,

Vheüel

Vheüel

Author

Termux's default look is a plain black screen with white text. It works, but it gets boring fast. You can change the colors in a couple of minutes, either with a ready-made theme or with your own custom palette.

Method 1: Use the Style menu

This is the easiest way.

  1. Install the Termux:Styling add-on (from the same source you installed Termux, such as F-Droid).
  2. Long-press anywhere on the Termux screen.
  3. Tap Style, then Choose color.
  4. Pick a theme from the list.

The change applies immediately.

Method 2: Edit the colors file manually

If you want full control, create a colors.properties file.

mkdir -p ~/.termux
nano ~/.termux/colors.properties

Add the basic colors:

background=#15202B
foreground=#E7E9EA
cursor=#00f6b6
  • background is the screen color.
  • foreground is the default text color.
  • cursor is the block where you type.

Save the file (CTRL + X, then Y, then Enter) and apply it:

termux-reload-settings

Understanding the numbered colors

You may see lines like color0 to color15. This is the 16-color ANSI palette that programs use to color text in the terminal.

  • color0: Black
  • color1: Red
  • color2: Green
  • color3: Yellow
  • color4: Blue
  • color5: Purple
  • color6: Cyan
  • color7: White

color8 to color15 are the brighter versions of 0 to 7. For example, when ls shows a folder in blue, it uses color4, and a red error message uses color1.

Full example: Twitter Dim theme

This example paints the whole terminal in the Twitter Dim style. Run it in one go:

cat > ~/.termux/colors.properties << 'EOF'
background=#15202B
foreground=#E7E9EA
cursor=#00f6b6

color0=#15202B
color1=#F4212E
color2=#00BA7C
color3=#FFD400
color4=#1D9BF0
color5=#7856FF
color6=#1DB9C3
color7=#E7E9EA

color8=#38444D
color9=#FF5C67
color10=#2ED8A0
color11=#FFE24D
color12=#5CB8F5
color13=#9B82FF
color14=#5DD6E0
color15=#FFFFFF
EOF

Then apply it:

termux-reload-settings

Changing only one color

You don't have to rewrite the whole file. To change just the cursor color, use sed:

sed -i 's/^cursor=.*/cursor=#00f6b6/' ~/.termux/colors.properties
termux-reload-settings

Replace cursor with background or foreground to change those instead.

A limitation to know

The row of extra keys at the bottom (ESC, CTRL, ALT, arrows, and so on) cannot be recolored through colors.properties in standard Termux. Its color follows the app's own theme.

Conclusion

Customizing Termux colors takes only a few commands: edit ~/.termux/colors.properties, then run termux-reload-settings. Start with the three basic colors, and add the color0 to color15 palette once you want everything to match.

Join Bybit
How to Customize Termux Colors: From Quick Themes to a Full Custom Palette | Vheüel Insight Network