Re: still blue
Hi,
i wrote:
> > # Minimum brightness for blue to be perceivable
> > blue_base=64
> > # Minimum advantage of blue over (red + green)/2
> > blue_advantage=64
Emanuel Berg wrote:
> Thanks a lot, this is what I had in mind exactly!
My eyes still perceived too much reddishness. They obviously need enough
green to compensate for the given red value.
So i added the constraint that (Red - Green) must not be smaller than -64
and not larger than +32. This made the blueish impression quite stable.
I also looked up in the web how to change the background color of an xterm
from inside:
# https://superuser.com/questions/592090/change-xterm-change-background-color-without-clearing-the-screen
echo -n -e '\e]11;rgb:'"$rhex"/"$ghex"/"$bhex"'\a'
(One should use a dedicated xterm for color display, because i don't know
yet how to inquire the original bg color of the xterm.)
> Is this a correct implementation?
> (defalias '** #'expt)
Lookth like Lithp. (Not my turf.)
I think the ultimate test for correctness it the personal impression of
the colors. Either by your keyborad lights or by above xterm color setting.
Have a nice day :)
Thomas
Reply to: