开发者

what's the default background color of gnome-terminal

I would like to change the text color to bright green (#66FF00) but keep the default background color ( which is : "use system theme color ") of gnome-terminal. I can customize the text color, but in this case, I still need to specify the background myself. So I wo开发者_JAVA百科uld like to know what's the RGB color of the default background color of gnome-terminal (in Ubuntu 10.04), and where I can find this value. Thanks.


Since at least 12.10, probably much earlier (source goes back to 2010-08), in Ambiance and Radiance themes, it's #300A24.
Defined in: /usr/share/themes/*/gtk-*/apps/gnome-terminal*.
Note that it's also slightly transparent (if compositing is enabled) - 5% if I'm reading the config right.

I was somewhat surprised that it's not one of the standard colors from Canonical's aubergine/orange palette.


or simply a screenshot opened in GIMP, then pressing either 'O' or clicking the foreground color on the toolbar, picking the eyedropper. you'd have to adjust the code then, simply adding a '#' in front of it.

another way would be to install GEANY, which is a very nice text / script editor anyway, and then using the tools>color chooser, then the eyedropper. which lets lets you click anywhere, like on the desktop, and returns the HEX value, complete with '#', and also in upper-case letters.


For ubuntu terminal background RGB is (48, 10, 36). and Hex Color Code is #300A24


ColorPic kind of softwares will help. These sofwares are able to find out the color on background.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜