Re: still blue

2022-08-24 Thread Emanuel Berg
Thomas Schmitt wrote: >> I have a programmable keyboard so I've done some of that, >> this new idea would be to have a all-blue, all-green etc >> keyboard randomized each time, > > So i guessed that it's about something like these > https://www.amazon.com/programmable-keyboard/s?k=programmable+k

Re: still blue

2022-08-24 Thread Thomas Schmitt
Hi, i wrote: > > Either by your keyborad lights or by above xterm > > color setting. Emanuel Berg wrote: > :O > Did I say that or did you read my mind? In the original post of Mon, 25 Jul 2022 10:17:30 +0200, you wrote: >...> I have a programmable keyboard so I've done some of that [1], >...> t

Re: still blue

2022-08-24 Thread Emanuel Berg
Thomas Schmitt wrote: > 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. OK! I added that ... ;;; -*- lexical-binding: t -*- ;; ;; this file: ;; https://dataswamp.org/~incal/emacs-init/color-in

Re: still blue

2022-08-24 Thread Thomas Schmitt
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 e

Re: still blue

2022-08-23 Thread Emanuel Berg
Thomas Schmitt wrote: > # Minimum brightness for blue to be perceivable > blue_base=64 > > # Minimum advantage of blue over (red + green)/2 > blue_advantage=64 Thanks a lot, this is what I had in mind exactly! Is this a correct implementation? (defalias '** #'expt) (defun blue-p (r g b) (let

Re: still blue

2022-07-25 Thread Thomas Schmitt
Hi, Nicholas Geovanis wrote: > Schoenes Abendessen :-) I hereby declare Central European Supper Time. Have a nice day :) Thomas

Re: still blue

2022-07-25 Thread Nicholas Geovanis
On Mon, Jul 25, 2022 at 6:17 AM Thomas Schmitt wrote: > Hi, > > refining my proposal i tested this function to list about 7600 blueish > colors: > > > done > > All random samples from this list yielded blueish background with > xterm -bg "$value" & > I hope there are not local spots of no

Re: [OT] still blue

2022-07-25 Thread gene heskett
On 7/25/22 04:57, Emanuel Berg wrote: Nicolas George wrote: The color triangle possible by the RGB scheme is a tiny part of the colors that light can express. It cannot show real oranges, yellows, turquoises, only washed down approximations, and it is even worse for indigos and violets. Still,

Re: [OT] still blue

2022-07-25 Thread gene heskett
On 7/25/22 04:47, to...@tuxteam.de wrote: On Mon, Jul 25, 2022 at 10:36:15AM +0200, Nicolas George wrote: [...] Many good points. I'd add: - colour perception varies by individuum far more than we are usually aware of Cheers This is far more true than folks admit to, Tomas. Back when US

Re: [OT] still blue

2022-07-25 Thread mick.crane
On 2022-07-25 09:54, Emanuel Berg wrote: Nicolas George wrote: The color triangle possible by the RGB scheme is a tiny part of the colors that light can express. It cannot show real oranges, yellows, turquoises, only washed down approximations, and it is even worse for indigos and violets. St

Re: still blue

2022-07-25 Thread Thomas Schmitt
Hi, i wrote: > > rhex="$(printf '%2.2x' "$r")" Greg Wooledge wrote: > As of bash 3.1, you can use printf -v rhex %2.2x "$r" I'm still at the bash level of DLD Linux 0.99pl13. > > bstart="$(expr "(" "$r" + "$g" ")" / 2 + "$blue_advantage")" > bstart=$(( (r+g)/2 + blue_advantage )) expr is

Re: still blue

2022-07-25 Thread Nicolas George
Thomas Schmitt (12022-07-25): > On my screen i (individually) see pure green brighter than pure red which > is brighter than pure blue: > xterm -bg '#ff' & > xterm -bg '#00ff00' & > xterm -bg '#ff' & Yes, it is perfectly normal. > Nevertheless a slight overweight of blue can create

Re: still blue

2022-07-25 Thread Greg Wooledge
On Mon, Jul 25, 2022 at 01:17:38PM +0200, Thomas Schmitt wrote: > #!/bin/bash > rhex="$(printf '%2.2x' "$r")" As of bash 3.1, you can use printf -v rhex %2.2x "$r" > ghex="$(printf '%2.2x' "$g")" Same. > bstart="$(expr "(" "$r" + "$g" ")" / 2 + "$blue_advantage")" bstart=$(( (r+g)

Re: still blue

2022-07-25 Thread Thomas Schmitt
Hi, refining my proposal i tested this function to list about 7600 blueish colors: --- #!/bin/bash # Minimum brightness for blue to be perceivable blue_base=64 # Minimum advantage of blue over (red + green)/2 blue_advantage

Re: still blue

2022-07-25 Thread Thomas Schmitt
Hi, Nicolas George wrote: > > - Our brain lies to us about colors all the time. This begins already with the combination of light receptors and the first nerve cells in the chain which creates the color evaluations. As mammals we should normally be blind against red-yellow-green contrasts. Dogs

Re: [OT] still blue

2022-07-25 Thread Curt
On 2022-07-25, Nicolas George wrote: > > uniform in frequency and reciprocally). The best we can do is know > that our eye evolved for the light of the Sun, and therefore is > optimized for its light, and white is anything that looks like the > Plank spectrum at 5800 K, although 6500 K usu

Re: [OT] still blue

2022-07-25 Thread Emanuel Berg
tomas wrote: > Many good points. I'd add: > > - colour perception varies by individuum far more >than we are usually aware of OK, feel free to provide a solution that takes that into account then ... -- underground experts united https://dataswamp.org/~incal

Re: [OT] still blue

2022-07-25 Thread Emanuel Berg
Nicolas George wrote: > The color triangle possible by the RGB scheme is a tiny part > of the colors that light can express. It cannot show real > oranges, yellows, turquoises, only washed down > approximations, and it is even worse for indigos > and violets. Still, that's what I will use so what

Re: [OT] still blue

2022-07-25 Thread tomas
On Mon, Jul 25, 2022 at 10:36:15AM +0200, Nicolas George wrote: [...] Many good points. I'd add: - colour perception varies by individuum far more than we are usually aware of Cheers -- t signature.asc Description: PGP signature

Re: [OT] still blue

2022-07-25 Thread Nicolas George
Emanuel Berg (12022-07-25): > How much green and red can a blue color have and still > be blue? > > And how little blue can it have? > > I have a programmable keyboard so I've done some of that [1], > this new idea would be to have a all-blue, all-green etc keyboard randomized > each time, the ra

still blue

2022-07-25 Thread Emanuel Berg
o/ How much green and red can a blue color have and still be blue? And how little blue can it have? I have a programmable keyboard so I've done some of that [1], this new idea would be to have a all-blue, all-green etc keyboard randomized each time, the random would then be, for each key, random