You are not logged in.

#1 2018-07-25 12:48:52

riddle00
Member
From: Lithuania
Registered: 2015-05-26
Posts: 81

[SOLVED] URxvt colors are too dark

I have finally configured URxvt to my liking, only one thing: all the URxvt colors appear to be darker than, e.x. xterm or terminator, which actually makes eyes strain a little more.

My .Xresources: github_link_1
My .Xresources.d: github_link_2

I currently use .Xresources.d/solarized coloring.

Screenshot:
pJFoz22t.png
From left to right: URxvt, xterm, terminator.

Even though the color schemes on every terminal emulator are different, it can clearly be seen that URxvt colors are much darker, as if some kind of filter was added.

Last edited by riddle00 (2018-07-25 15:41:21)


Vim is not just an editor (...); it is for all intents and purposes a universal design pattern. --  Jason Ryan

Offline

#2 2018-07-25 13:37:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] URxvt colors are too dark

riddle00 wrote:

Even though the color schemes on every terminal emulator are different, it can clearly be seen...

Given that the color schemes are completely different, nothing can really be seen.  That looks like solarized colors to me.  What does it look like if you use the same color scheme in the different terminals side by side?

Last edited by Trilby (2018-07-25 13:40:39)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2018-07-25 14:04:07

riddle00
Member
From: Lithuania
Registered: 2015-05-26
Posts: 81

Re: [SOLVED] URxvt colors are too dark

My bad, using solarized color scheme with Terminator the colors seem to be the same. However, it does seem still that urxvt lacks brightness, no matter which color scheme I apply.


Vim is not just an editor (...); it is for all intents and purposes a universal design pattern. --  Jason Ryan

Offline

#4 2018-07-25 14:28:56

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: [SOLVED] URxvt colors are too dark

The colors look like the configured ones and if the colors are the same as in terminator/solarized, how can urxvt "lack brightness"???

Please run this and take a screenshot so one can determine which colors are actually used,

#!/bin/sh

for x in 0 1 4 5 7 8; do
	for i in {30..37}; do
		for a in {40..47}; do
			echo -ne "\e[$x;$i;$a""m\\\e[$x;$i;$a""m\e[0;37;40m "
		done
		echo
	done
done
echo

Offline

#5 2018-07-25 14:34:06

riddle00
Member
From: Lithuania
Registered: 2015-05-26
Posts: 81

Re: [SOLVED] URxvt colors are too dark

RFm1tD3t.png

Or should it have been a colored output?


Vim is not just an editor (...); it is for all intents and purposes a universal design pattern. --  Jason Ryan

Offline

#6 2018-07-25 14:38:25

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: [SOLVED] URxvt colors are too dark

Yes, what shell is this and why does echo not handle escape codes?
Try replacing the echo line w/

printf "\e[$x;$i;$a""m\\\e[$x;$i;$a""m\e[0;37;40m "

The result should be a colored matrix w/ all text colors contrasting all background colors, writing the used escape codes

Offline

#7 2018-07-25 14:42:54

riddle00
Member
From: Lithuania
Registered: 2015-05-26
Posts: 81

Re: [SOLVED] URxvt colors are too dark

I am sorry, I have not copied it right with urxvt. Now it's this
(I have changed the theme, sorry)

7vsIQg8t.png

Last edited by riddle00 (2018-07-25 14:43:29)


Vim is not just an editor (...); it is for all intents and purposes a universal design pattern. --  Jason Ryan

Offline

#8 2018-07-25 15:26:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] URxvt colors are too dark

seth wrote:

The colors look like the configured ones and if the colors are the same as in terminator/solarized, how can urxvt "lack brightness"???

This question seems to have been passed over.  Define your problem.  What is "brightness" if not an intensity of a color?

Just a wild guess here, but if you are using different fonts in the different terminals, one font might be more dense than another (i.e. wider lines using more of the pixels) which would change it's percieved intensity.

Last edited by Trilby (2018-07-25 15:28:25)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2018-07-25 15:40:51

riddle00
Member
From: Lithuania
Registered: 2015-05-26
Posts: 81

Re: [SOLVED] URxvt colors are too dark

Yes, the fonts are different, and the slight difference of color scheme possibly causes the perceived "brightness". I'm marking this topic as solved, since I thought that there is some "magical" brightness option in urxvt that I have not found out. Thanks everybody for answers!


Vim is not just an editor (...); it is for all intents and purposes a universal design pattern. --  Jason Ryan

Offline

Board footer

Powered by FluxBB