Page 1 of 2
issue-#102 improvements for colors in menu Attributes
Posted: Wed Feb 03, 2016 3:19 pm
by Josef Templ
CPC 1.7 proposes the following changes to the Attributes menu:
1. Use a darker tone for Green. It is proposed to use 00DD00H instead of 00FF00H.
In my experiments this is still too bright.
I would suggest to use something like 00B000H.
2. The color Purple is added as 0FF00FFH, i.e. RED + BLUE.
For the issue see
http://redmine.blackboxframework.org/issues/102.
You can experiment easily with different colors by opening the menus with Info->Menus, then
open System/Rsrc/Menus and type in the required color codes.
There is no need to save the menus file. It suffices to execute Info->Update Menus.
Any comments?
- Josef
Re: issue-#102 improvements for colors in menu Attributes
Posted: Thu Feb 04, 2016 9:21 am
by Ivan Denisov
I am using even 008000H for green.
Re: issue-#102 improvements for colors in menu Attributes
Posted: Thu Feb 04, 2016 10:11 pm
by DGDanforth
Ivan Denisov wrote:I am using even 008000H for green.
I prefer Josef's 00B000H
Its brighter than Ivan's.
Re: issue-#102 improvements for colors in menu Attributes
Posted: Fri Feb 05, 2016 8:40 am
by Zinn
I prefer any value between 00A000H and 00C000H.
- Helmut
Re: issue-#102 improvements for colors in menu Attributes
Posted: Fri Feb 05, 2016 9:12 am
by Josef Templ
I have committed the changes to the topic branch with 00AF00H for Green.
This is almost the same as 00B000H but shows it better that the green bits are set
but not all of them.
The color Purple seems rather special at a first glance.
However, experiments show that it is the only combination of
two fully turned on channels out of R+G+B that leads to a well readable color.
In that sense it may be justified to include it in the Attributes menu indeed.
For the changes see
http://redmine.blackboxframework.org/pr ... 693ed02c62.
- Josef
Re: issue-#102 improvements for colors in menu Attributes
Posted: Fri Feb 05, 2016 9:37 am
by Josef Templ
According to Wikipedia the color 0FF00FFH is named Magenta.
Purple is defined there as 800080H, thus it is a darker form of Magenta.
I think we need to rename it.
- Josef
Re: issue-#102 improvements for colors in menu Attributes
Posted: Fri Feb 05, 2016 2:41 pm
by Robert
Josef Templ wrote:I have committed the changes to the topic branch with 00AF00H for Green
Rather than inventing a new color, how about using an established color name such as "Forest Green" ~ 228B22.
See
http://latexcolor.com/ or
https://en.wikipedia.org/wiki/Web_colors
Re: issue-#102 improvements for colors in menu Attributes
Posted: Tue Feb 09, 2016 9:45 am
by Josef Templ
The currently existing named colors are based on the RGB model.
Green is proposed as an exception because the RGB color Green (00FF00) is
hard to read on displays and thereby without any practical relevance.
The color 00AF00 is close to RGB Green in the sense that it does not use any
other color channels. It only uses a level of brightness that makes it well readable.
Keeping the name Green is a compromise, of course. It avoids any changes
in the docu and Strings file and it avoids long discussions about a better name.
It is justified by only using the green RGB channel and a brightness as close
to 00FF00 as meaningful.
When considering Green colors including R+B channels there is a huge number
of alternatives in various color schemes and it will be very hard
to pick one of them but not the other. It would also deviate further from the
basic idea of using 'simple' RGB colors only.
- Josef
Re: issue-#102 improvements for colors in menu Attributes
Posted: Tue Feb 09, 2016 12:26 pm
by Ivan Denisov
We can keep only Red, Green, Blue and Black. Does the Magenta is necessary?
Re: issue-#102 improvements for colors in menu Attributes
Posted: Thu Feb 11, 2016 12:53 pm
by Josef Templ
Purple has been renamed to Magenta.
I don't know if we need Magenta.
I think the need came from using colors for marking changes in the source code of CPC 1.7.
With more changes more colors were needed.
@Helmut: right?
In general, there are two basic color models around:
- the additive colors (RGB)
- the subtractive colors (CMY, = the two-color combinations from RGB)
The menu could list all of them but then it gets longer and Cyan and Yellow
are not very helpful in practice because of readability.
I must add that I don't have a strong preference towards adding Magenta.
But if we add it, I would prefer the name Magenta over the slightly incorrect Purple.
- Josef