discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Problem with color map

J
jpmendes
Wed, Mar 9, 2016 9:50 PM

Hello,

I noticed that colors "DimGray" and "DarkGray" are reversed i.e. "DimGray
should be DarkGray" and vice-versa. The manual is coherent with the code,
but the meaning is not. Correcting this poses a backward compatibility,
however do not make much sense a darker color to be lighter than a dimmed
one.

Cheers
jpmendes

--
View this message in context: http://forum.openscad.org/Problem-with-color-map-tp16381.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hello, I noticed that colors "DimGray" and "DarkGray" are reversed i.e. "DimGray should be DarkGray" and vice-versa. The manual is coherent with the code, but the meaning is not. Correcting this poses a backward compatibility, however do not make much sense a darker color to be lighter than a dimmed one. Cheers jpmendes -- View this message in context: http://forum.openscad.org/Problem-with-color-map-tp16381.html Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Wed, Mar 9, 2016 10:13 PM

On 03/09/2016 10:50 PM, jpmendes wrote:

I noticed that colors "DimGray" and "DarkGray" are reversed i.e. "DimGray
should be DarkGray" and vice-versa. The manual is coherent with the code,
but the meaning is not. Correcting this poses a backward compatibility,
however do not make much sense a darker color to be lighter than a dimmed
one.

The colors are following the definition from the CSS spec, so I guess
it's more a matter of different interpretations of Dim vs. Dark.

See: https://drafts.csswg.org/css-color/

ciao,
Torsten.

On 03/09/2016 10:50 PM, jpmendes wrote: > I noticed that colors "DimGray" and "DarkGray" are reversed i.e. "DimGray > should be DarkGray" and vice-versa. The manual is coherent with the code, > but the meaning is not. Correcting this poses a backward compatibility, > however do not make much sense a darker color to be lighter than a dimmed > one. > The colors are following the definition from the CSS spec, so I guess it's more a matter of different interpretations of Dim vs. Dark. See: https://drafts.csswg.org/css-color/ ciao, Torsten.
J
jpmendes
Thu, Mar 10, 2016 2:20 AM

Hi
Yes you are right, I went to investigate the subject and deleted my post 10
minutes later.
Anyway is strange to me that the "DarkGray" is lighter than the "Gray"
itself.
Maybe it is a linguistic semantic divergence between English and Portuguese
.

http://coloreminder.com/808080 http://coloreminder.com/808080
http://coloreminder.com/a9a9a9 http://coloreminder.com/a9a9a9

jpmendes

--
View this message in context: http://forum.openscad.org/Re-Problem-with-color-map-tp16382p16385.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hi Yes you are right, I went to investigate the subject and deleted my post 10 minutes later. Anyway is strange to me that the "DarkGray" is lighter than the "Gray" itself. Maybe it is a linguistic semantic divergence between English and Portuguese . http://coloreminder.com/808080 <http://coloreminder.com/808080> http://coloreminder.com/a9a9a9 <http://coloreminder.com/a9a9a9> jpmendes -- View this message in context: http://forum.openscad.org/Re-Problem-with-color-map-tp16382p16385.html Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Thu, Mar 10, 2016 2:32 AM

you will find it is two or more lists of colours crammed together to make a
'standard'.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

View this message in context: http://forum.openscad.org/Re-Problem-with-color-map-tp16382p16387.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

you will find it is two or more lists of colours crammed together to make a 'standard'. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- View this message in context: http://forum.openscad.org/Re-Problem-with-color-map-tp16382p16387.html Sent from the OpenSCAD mailing list archive at Nabble.com.
DM
doug moen
Thu, Mar 10, 2016 2:47 AM

Wikipedia explains why DarkGray is lighter than Gray.
https://en.wikipedia.org/wiki/Grey#Web_colors

So, it's just an outcome of different designers clashing over what the
value of "Gray" should be. The original designer (of the X11 colour system)
made Gray lighter than DarkGray, then when this system was copied into
HTML/CSS, another designer changed the value of Gray to something that made
more sense to them, without changing the value of DarkGray.

On 9 March 2016 at 21:20, jpmendes jpmendes54@gmail.com wrote:

Hi
Yes you are right, I went to investigate the subject and deleted my post 10
minutes later.
Anyway is strange to me that the "DarkGray" is lighter than the "Gray"
itself.
Maybe it is a linguistic semantic divergence between English and Portuguese
.

http://coloreminder.com/808080 http://coloreminder.com/808080
http://coloreminder.com/a9a9a9 http://coloreminder.com/a9a9a9

jpmendes

--
View this message in context:
http://forum.openscad.org/Re-Problem-with-color-map-tp16382p16385.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Wikipedia explains why DarkGray is lighter than Gray. https://en.wikipedia.org/wiki/Grey#Web_colors So, it's just an outcome of different designers clashing over what the value of "Gray" should be. The original designer (of the X11 colour system) made Gray lighter than DarkGray, then when this system was copied into HTML/CSS, another designer changed the value of Gray to something that made more sense to them, without changing the value of DarkGray. On 9 March 2016 at 21:20, jpmendes <jpmendes54@gmail.com> wrote: > Hi > Yes you are right, I went to investigate the subject and deleted my post 10 > minutes later. > Anyway is strange to me that the "DarkGray" is lighter than the "Gray" > itself. > Maybe it is a linguistic semantic divergence between English and Portuguese > . > > http://coloreminder.com/808080 <http://coloreminder.com/808080> > http://coloreminder.com/a9a9a9 <http://coloreminder.com/a9a9a9> > > jpmendes > > > > -- > View this message in context: > http://forum.openscad.org/Re-Problem-with-color-map-tp16382p16385.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > >