Travel Mapping

Web Design Discussion => General Web Design Discussion => Topic started by: yakra on August 14, 2017, 02:18:39 am

Title: color codes
Post by: yakra on August 14, 2017, 02:18:39 am
The following colors were used by CHM:
  blue
  brown
  green
  magenta
  red
  teal
The following colors are new to TM:
  lightsalmon
  yellow

What are the color codes, both clinched & unclinched, for each?

(Or, Is there a place on GitHub where I can conveniently look this up, keeping in mind that I don't speak PHP or Python, may not grok CSS, and understand JavaScript on sort of an 8th-grade-French level?)
Title: Re: color codes
Post by: yakra on August 14, 2017, 02:26:40 am
Since I can't delete my own topics on this board...
(Or, Is there a place on GitHub where I can conveniently look this up, keeping in mind that I don't speak PHP or Python, may not grok CSS, and understand JavaScript on sort of an 8th-grade-French level?)

https://github.com/TravelMapping/Web/blob/master/lib/tmjsfuncs.js
Title: Re: color codes
Post by: si404 on August 14, 2017, 06:38:42 am
And if anyone wants Hex codes:

blue #6464FF #0000FF
brown #999866 #996600
red #FF6464 #FF0000
yellow #FFFF80 #FFFF00
teal #64C8C8 #00C8C8
green #64FF64 #00FF00
magenta #FF64FF #FF00FF
lightsalmon #FFC8C8 #FFA07A

Yellow was the CHM color for usaif.
Title: Re: color codes
Post by: oscar on August 14, 2017, 10:21:17 am
si404's post confirms what I suspected: yellow and lightsalmon are pretty much invisible for me.

This raises an accessibility issue. Keep in mind that many of our users are old farts like me, whose vision is less than perfect. Do we really need to have so many colors, that we go deep into the pastels, rather than stick with the six darker and more contrasty colors on our palette?

As for what CHM used for the usaif system, it wasn't yellow. It was more orange-y. I didn't like that color, but at least I could see it.
Title: Re: color codes
Post by: michih on August 14, 2017, 10:40:46 am
blue #6464FF #0000FF is currently in use for 56 systems.
brown #999866 #996600 is currently in use for 73 systems.
red #FF6464 #FF0000 is currently in use for 11 systems.
yellow #FFFF80 #FFFF00 is currently in use for 22 systems.
teal #64C8C8 #00C8C8 is currently in use for 18 systems.
green #64FF64 #00FF00 is currently in use for 2 systems (usaib + eure).
magenta #FF64FF #FF00FF is currently in use for 1 system (usausb).
lightsalmon #FFC8C8 #FFA07A is currently in use for 72 systems.

I have some problem to see #FFC8C8 on maps but #FFFF80 is perfect!
Title: Re: color codes
Post by: oscar on August 14, 2017, 11:00:50 am
Keep in mind that our colors will usually be viewed not on a white background, but overlaid on online maps with their own color schemes. Yellow is likely to get lost on Google Maps, which has a palette tending to yelllows (which I don't like). OSM/Mapnik's tiles have their own color scheme, which we should also try not to overlap so users can tell the difference between the lines TMs draws and those on the underlying map.

Either way, dark colors are best, and the six darker ones (perhaps punching up green, to make it a little darker) should be plenty for our purposes.
Title: Re: color codes
Post by: michih on August 14, 2017, 12:17:36 pm
I only talk about Mapnik and Google Maps and low zoom level, e.g.:

http://tmtest.teresco.org/user/mapview.php?units=km&u=michih&rg=deu-bb,deu-be,deu-bw,deu-by,deu-hb,deu-he,deu-hh,deu-mv,deu-ni,deu-nw,deu-rp,deu-sh,deu-sl,deu-sn,deu-st,deu-th&dbname=TravelMappingTest

"untraveled" yellow is perfect to me on Mapnik. "untraveled" lightsalmon sucks. I have a different monitor than when we introduced the latter. Maybe my new graphics card or the monitor settings are just bad...

I found the following issues:
- map customization options (https://github.com/TravelMapping/Web/issues/10)
- user-specific data (https://github.com/TravelMapping/Web/issues/21)
- brown untraveled with many points looks like traveled (https://github.com/TravelMapping/Web/issues/105)
- teal+green untraveled looks like teal traveled (https://github.com/TravelMapping/Web/issues/198)
Title: Re: color codes
Post by: yakra on August 14, 2017, 05:29:37 pm
si404's post confirms what I suspected: yellow and lightsalmon are pretty much invisible for me.
I have some problem to see #FFC8C8 on maps but #FFFF80 is perfect!
It's the other way around for me; I have a harder time picking out the yellow. Just looking at the text in Si & michih's posts, I have to strain to read the yellow. For lightsalmon, clinched is fine, with unclinched  a bit tougher but not as bad as yellow. Sure, we don't *read* the maps, but same principle. I'm just using this for a quick gauge of visibility.
(Heh. And here against the darker background of the quotation box, lightsalmon *is* less readable, and yellow more. :P )

This raises an accessibility issue. Keep in mind that many of our users are old farts like me, whose vision is less than perfect. Do we really need to have so many colors, that we go deep into the pastels, rather than stick with the six darker and more contrasty colors on our palette?
I suppose that magenta (usausb only) could be freed up. No big need to show the bannered routes in a separate color from mainline US highways IMO. Compare/contrast all the state systems, with bannered routes all lumped in with their parents, shown in the same color.
I'll pass over any discussion of usaib for the moment, and note that green is probably worth keeping, even if it's just eure at the moment. Eure was originally red coming from CHM; I think Si's decision to change it to green (https://github.com/TravelMapping/HighwayData/commit/c5805befe70203fd9ea89354da2c27a0bb60f338#diff-eae2bfbfda5b0feeb174992e66c9c233) was appropriate for the context of Europe, doubtless well-considered. (I'm sure there was some discussion of it somewhere, that I'm not bothering to look up ATM.)

Keep in mind that our colors will usually be viewed not on a white background, but overlaid on online maps with their own color schemes. Yellow is likely to get lost on Google Maps, which has a palette tending to yelllows (which I don't like). OSM/Mapnik's tiles have their own color scheme, which we should also try not to overlap so users can tell the difference between the lines TMs draws and those on the underlying map.

Either way, dark colors are best, and the six darker ones (perhaps punching up green, to make it a little darker) should be plenty for our purposes.
From the perspective of maintaining good contrast from the various map & even blank grounds, I agree that darker is better.
Incidentally, since CHM, clinched colors have gotten lighter, and clinched/unclinched contrast has reduced. Here's what I've got for CHM:
  blue #32FFFF #0000DC
  brown #FFDCBE #643200 (unclinched is difficult for me to read)
  red #FFB4B4 #C80000
  teal #96FAC8 #009696 (unclinched is difficult for me to read)
  green #64C864 #00B400
  magenta #FF96FF #B400B4
  usaif #FFF064 #FF9600 (unclinched is difficult for me to read)
OTOH, I wouldn't want to move completely to a darker color-coded-only approach; having a bit of a dark-to-light spectrum as we move from higher to lower tiers gives a good, intuitive, visual indication of the routes' relative importance (though we really don't have this in the USA).
Was this the reason for the switch to lightsalmon in Europe? Don't know; I tried searching for lightsalmon (here, AARoads, GitHub) without much luck. Maybe si or michih could enlighten me. ISTR there being some discussion, that it got some thought and consideration, and I wouldn't want to tell si & michih to dial back on that change in favor of brown again.

Just to give a little more thought to the idea of reducing the number of colors, even though it's still one I'm not keen on...
Brown is very lightly used outside of the North American mainland, used only for brbh, gbrtr, and jama.
Red is used only for usaus, cantch, and 6 Asian systems (1 active, 3 preview, 2 devel).
Blue, teal, green, lightsalmon, and yellow all look pretty extensive & significant in Europe.
Title: Re: color codes
Post by: yakra on August 14, 2017, 05:58:29 pm
Punching up the green: how's this for revisiting the classic CHM colors?

blue #6464FF #0000DC (unclinched from TM, clinched from CHM)
brown #999866 #996600 (TM, TM)
red #FF6464 #C80000 (TM, CHM)
teal #64C8C8 #009696 (TM, CHM)
green #64C864 #00A000 (CHM, slightly darker than CHM)
magenta #FF96FF #B400B4 (CHM, CHM)

...and having a go at the new TM colors, a work in progress...
lightsalmon #E0AFAF #E08C6B
yellow #FFD864 #E8B000 (unclinched is still a bit tough to read, but it's an improvement on the existing canary yellow...)
Title: Re: color codes
Post by: si404 on August 14, 2017, 06:41:09 pm
leaving yellow & lightsalmon out for the moment, to be sorted in the future.
With the less strong colours, lightsalmon isn't as necessary. The main reason I went with that sort of colour (michih suggested it on hearing my description of what sort of thing might work and added it, though I tweaked the uncliched colour to try and make it less grey and also more visible, with little success) was a dislike of tourist/historic brown for systems that weren't, and many of the systems had red cartouches, so a reddy colour was good, but I tested the red and it was too strong a colour for the sometimes dense systems - ditto magenta.

I would like the darker green - both usaib, and eure, are signed with a darker green than the #00FF00 we currently have.

Thinking about it we have the 3 primary colours (red, blue, green) and darker versions of the 3 secondary colours (teal being a darker cyan, brown being a darker (and more orangey) yellow, our 'magenta' (ie purple) being a darker magenta*).

would orange #FFAA44, #FF8800 work as a viable colour (feel free to tweak, I tend to treat each hex pair as one number repeated, and then only even numbers), should we decide to have another (replace yellow and perhaps use for most of the systems currently using brown?)

*I think this is a En-UK vs En-US thing - I'd have the following: magenta purple.
Title: Re: color codes
Post by: yakra on August 14, 2017, 11:47:12 pm
Si, I edited my post some more after you quoted it, and added in some attempts at lightsalmon and yellow. What do you think of those?

My thinking is along the lines of tweaking the existing colors, making them more visible and less jarring. I wouldn't want to eliminate yellow, though...
There's an important distinction between lightsalmon & yellow if the map of Germany is any indication. (Other countries in Europe, I haven't looked at very closely.)
In North America, I wouldn't want to lose the brown/yellow divide we have now -- and lose the cannst/cannsc / usamt/usamts distinction. ...Unless we were to go with lightsalmon (http://tm.teresco.org/forum/index.php?topic=2171.msg7343#msg7343)* for these systems instead.
There will be more yellow (or, Tier 5 of whatever color at least) in Canada eventually, as my long-range place include adding canabs & canmbs.
Heck, Texas Farm-to-Market roads may even be a thing some day...

Quote
I tweaked the uncliched colour to try and make it less grey and also more visible, with little success
Giving it another go, touching up the example from my last post... How's F0B2B2 look?

*Speaking of which -- the only reason for this post was to find Hex codes, to plug into my CHM-style map generator and create some mockups for my proposal to split cannb into 3 systems (http://tm.teresco.org/forum/index.php?topic=2171). Some of the discussion from that thread spilled over into this one; see my response to Oscar that I linked above. I didn't really expect this thread to blow up so fast. Anyway -- give that thread a look-over too if you'd like. Got an opinion on that one?
Title: Re: color codes
Post by: michih on August 15, 2017, 03:01:20 am
si404's post confirms what I suspected: yellow and lightsalmon are pretty much invisible for me.
I have some problem to see #FFC8C8 on maps but #FFFF80 is perfect!
It's the other way around for me; I have a harder time picking out the yellow. Just looking at the text in Si & michih's posts, I have to strain to read the yellow. For lightsalmon, clinched is fine, with unclinched  a bit tougher but not as bad as yellow. Sure, we don't *read* the maps, but same principle. I'm just using this for a quick gauge of visibility.
(Heh. And here against the darker background of the quotation box, lightsalmon *is* less readable, and yellow more. :P )

Please, don't look at text and don't rate how it looks with forum background. Check the lines drawn on map background, especially with low zoom.

Was this the reason for the switch to lightsalmon in Europe? Don't know; I tried searching for lightsalmon (here, AARoads, GitHub) without much luck. Maybe si or michih could enlighten me. ISTR there being some discussion, that it got some thought and consideration, and I wouldn't want to tell si & michih to dial back on that change in favor of brown again.

The discussion begins here: http://tm.teresco.org/forum/index.php?topic=131.msg2276#msg2276

Lightsalmon was introduced because red and magenta are too strong.

I'm happy with yellow but don't like untraveled lightsalmon. The contrast between untraveled lightsalmon to the typical map colors is really bad and should be darker (I guess I was happy with the color because the graphics card or settings of my old notebook were better).

I would like the darker green - both usaib, and eure, are signed with a darker green than the #00FF00 we currently have.

Seconded! Traveled green should be darker, untraveled green is fine.
Title: Re: color codes
Post by: yakra on August 15, 2017, 09:00:37 pm
Please, don't look at text and don't rate how it looks with forum background. Check the lines drawn on map background, especially with low zoom.
As I noted in my post, I'm aware that text is no substitute for looking over the maps. My only intent was to get a very quick & dirty impression of contrast against light backgrounds.
I've made some custom mapviews to test tweaked color schemes...
More on this below...

The discussion begins here: http://tm.teresco.org/forum/index.php?topic=131.msg2276#msg2276

Lightsalmon was introduced because red and magenta are too strong.
...as noted in michih's Reply #47 (http://tm.teresco.org/forum/index.php?topic=131.msg2280#msg2280).
Quote
1. Yellow (http://tm.teresco.org/user/mapview.php?u=si404&rg=ENG&colors=tier4:rgb(255,255,128):rgb(225,225,0)) (looks a little bit over the top, maybe "gold" is more restrained?)
2. Magenta (http://tm.teresco.org/user/mapview.php?u=si404&rg=ENG&colors=tier4:rgb(255,100,255):rgb(255,0,255)) (sticks a little out like red though)
Yeah man, that magenta is yecchy.
A more restrained gold might be better than the over-the-top canary yellow. My attempt at toning it down some is here (http://tm.teresco.org/forum/index.php?topic=2174.msg7364#msg7364).

Before I get too far ahead of myself, it's a good time for some
Custom mapviews
using the alternate colors I posted...
oscar in NS (http://tm.teresco.org/user/mapview.php?units=miles&rg=NS&u=oscar&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(200,0,0);tier3:rgb(100,200,200):rgb(0,150,150);tier4:rgb(153,152,102):rgb(153,66,00);tier5:rgb(255,216,100):rgb(232,176,0))
michih in DEU (http://tm.teresco.org/user/mapview.php?units=miles&rg=DEU&u=michih&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,150,150);tier3:rgb(100,200,100):rgb(0,160,0);tier4:rgb(240,178,178):rgb(224,140,107);tier5:rgb(255,216,100):rgb(232,176,0))
si404 in ENG (http://tm.teresco.org/user/mapview.php?units=miles&rg=ENG&u=si404&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,150,150);tier3:rgb(100,200,100):rgb(0,160,0);tier4:rgb(240,178,178):rgb(224,140,107);tier5:rgb(255,216,100):rgb(232,176,0))

Keep in mind that our colors will usually be viewed not on a white background, but overlaid on online maps with their own color schemes. Yellow is likely to get lost on Google Maps, which has a palette tending to yelllows (which I don't like). OSM/Mapnik's tiles have their own color scheme, which we should also try not to overlap so users can tell the difference between the lines TMs draws and those on the underlying map.
When first looking at the DEU mapviews, it took me a second to pick out the Tier 4 / lightsalmon routes; they're well camouflaged against OSM's red/pink/magenta/purple/salmon palette. (Look next door at the Netherlands, with its dense road network.) Then, I realized I was looking at TravelMapping's overlays on a background of Germany that was mostly blank space. Hey, not bad... :D
Roads that are themselves darker on the underlying map are likely to overlaid with a darker, E.G. blue or teal polyline.
So, while important to keep in mind, this may not be as bad is it sounds at first blush.
The roads Google is likely to show as yellow in North America would largely be Tier 4 roads, and thus get a brown polyline. Yellow, for Tier 5, would be mostly roads that start out as white on Google, at least in the US. In NS and AB, I see some Tier 5 roads marked yellow by Google to start with, but I don't think this is a problem -- what we'd really want to avoid IMO is a light polyline against a dark-colored road on the background. I have yet to find an instance of this.
Oscar: I've darkened the yellow a bit, making it into more of a gold. How does it look in your mapview of NS?

I'm happy with yellow but don't like untraveled lightsalmon. The contrast between untraveled lightsalmon to the typical map colors is really bad and should be darker
I've tweaked the untraveled lightsalmon, making it a bit darker and more saturated. It still matches the OSM color scheme (inevitable for a lightsalmon, I suppose), but contrasts with the light background a little better. How does it look in your mapview of DEU?
What do you think of the changes I made to the yellow?

I would like the darker green - both usaib, and eure, are signed with a darker green than the #00FF00 we currently have.
Seconded! Traveled green should be darker, untraveled green is fine.
I've darkened the green (though perhaps a bit too much?); what I used in the mapview link is a bit darker than on CHM.

As for clinched lightsalmon, maybe I should take that back closer to the current TM (http://tm.teresco.org/user/mapview.php?units=miles&rg=DEU&u=michih) default (http://tm.teresco.org/user/mapview.php?units=miles&rg=ENG&u=si404)...

All in all, it's a bit of a balancing act.
On the one hand, as michih & si have noted, the combination of dense systems and low zoom levels can present blobs of color that are jarring and overwhelming if too bright. For this reason, I think lighter and less saturated colors are good for the lower (higher-numbered) tiers. (Back to the ugly magenta again -- I'll attach some mockups of canabs at the end of the post to help illustrate.)
OTOH, as oscar & michih have noted, we want to avoid lighter colors with too little contrast, that are difficult to see against lighter backgrounds and maps.

I'm trying to find a good compromise between these two (somewhat opposed) goals.
Play around with the mapview links above; add in your own username and your preferred region and have a look around. (The NS example is better for North America; the DEU & ENG examples are better for Europe.) Just keep in mind that these mockups won't be a 1:1 representation of how things would really look with these as the default colors, as colors are only specified on a tier-by-tier, not system-by-system, basis. Many regions have different-colored systems of the same tier, such as usausb & usasf.
How do things look?
Title: Re: color codes
Post by: Jim on August 15, 2017, 09:32:45 pm
I wonder if a motivated TM contributor might be able to figure out how to make our own tiles from OSM data.
Title: Re: color codes
Post by: michih on August 16, 2017, 10:47:38 am
@yakra: Thanks, this (http://tm.teresco.org/user/mapview.php?units=miles&rg=DEU,POL,DNK&u=michih&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,150,150);tier3:rgb(100,200,100):rgb(0,160,0);tier4:rgb(240,178,178):rgb(224,140,107);tier5:rgb(255,216,100):rgb(232,176,0)) is almost perfect to me! (I've added DNK and POL to get more unclinched green and more teal)
Title: Re: color codes
Post by: yakra on August 16, 2017, 02:10:36 pm
@yakra: Thanks, this (http://tm.teresco.org/user/mapview.php?units=miles&rg=DEU,POL,DNK&u=michih&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,150,150);tier3:rgb(100,200,100):rgb(0,160,0);tier4:rgb(240,178,178):rgb(224,140,107);tier5:rgb(255,216,100):rgb(232,176,0)) is almost perfect to me! (I've added DNK and POL to get more unclinched green and more teal)
Thanks for the feedback. Here's DEU,POL,DNK with revised colors (http://tm.teresco.org/user/mapview.php?units=miles&rg=DEU,POL,DNK&u=michih&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,150,150);tier3:rgb(100,200,100):rgb(0,200,0);tier4:rgb(224,162,162):rgb(240,150,115);tier5:rgb(255,216,100):rgb(232,176,0)).

Green traveled should be a little bit brighter (too close to teal)
I see what you mean on the corridor northeast of Warszawa.
I've brightened it up; it's lighter than the old CHM palette, but not as bright as the current TM palette.
If there's still not enough contrast with teal, I might try tweaking teal a bit.

Traveled lightsalmon is fine,
I found it a bit too muted & brownish, and didn't like the way it looked on Si's ENG map. I've taken it halfway back to the current TM color. Still look OK?

untraveled lightsalmon is still too light
Darkened it and turned up the saturation a bit.

How does everything look now?
--
new map for si404 in ENG (http://tm.teresco.org/user/mapview.php?units=miles&rg=ENG&u=si404&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,150,150);tier3:rgb(100,200,100):rgb(0,200,0);tier4:rgb(224,162,162):rgb(240,150,115);tier5:rgb(255,216,100):rgb(232,176,0))
Title: Re: color codes
Post by: Jim on August 16, 2017, 02:41:08 pm
Related to all of this is a possibility of a CSS-type hierarchy of color customization.  We could allow an override of colors by color name (as specified in systems.csv), by tier, by system, by region, by route, whatever we want.  Colors specified at a more specific level would take precedence over more general.  Not happening any time soon by me, though.
Title: Re: color codes
Post by: michih on August 16, 2017, 03:18:27 pm
Green traveled should be a little bit brighter (too close to teal)
I see what you mean on the corridor northeast of Warszawa.
I've brightened it up; it's lighter than the old CHM palette, but not as bright as the current TM palette.
If there's still not enough contrast with teal, I might try tweaking teal a bit.

Yes, still too less contrast between green and teal. Rest is fine - even untraveled lightsalmon :D
Title: Re: color codes
Post by: Jim on August 16, 2017, 04:17:20 pm
Related to all of this is a possibility of a CSS-type hierarchy of color customization.  We could allow an override of colors by color name (as specified in systems.csv), by tier, by system, by region, by route, whatever we want.  Colors specified at a more specific level would take precedence over more general.  Not happening any time soon by me, though.

Of course it would also have to be done in a less clunky way than the messy QS parameters we need to override colors now.
Title: Re: color codes
Post by: yakra on August 16, 2017, 06:29:15 pm
Green traveled should be a little bit brighter (too close to teal)
I see what you mean on the corridor northeast of Warszawa.
I've brightened it up; it's lighter than the old CHM palette, but not as bright as the current TM palette.
If there's still not enough contrast with teal, I might try tweaking teal a bit.
Yes, still too less contrast between green and teal. Rest is fine - even untraveled lightsalmon :D
I've made traveled teal a slightly more blueish hue than the straight cyan it was before, and brightened up the traveled green a bit more.
What do you think? (http://tm.teresco.org/user/mapview.php?units=miles&rg=DEU,POL,DNK&u=michih&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,140,160);tier3:rgb(100,200,100):rgb(0,224,0);tier4:rgb(224,162,162):rgb(240,150,115);tier5:rgb(255,216,100):rgb(232,176,0))
Title: Re: color codes
Post by: vdeane on August 16, 2017, 11:13:16 pm
I've noticed that the traveled red and brown blend into each other a bit much, making it harder to distinguish US and state routes.  I like the more gold yellow a lot.
Title: Re: color codes
Post by: Jim on August 16, 2017, 11:24:18 pm
If we can come up with some general agreement on better default color codes, I'm all for it.  The original ones weren't given a ton of thought by me.

Title: Re: color codes
Post by: yakra on August 17, 2017, 01:31:27 am
I've noticed that the traveled red and brown blend into each other a bit much, making it harder to distinguish US and state routes.
How's this look? (http://tm.teresco.org/user/mapview.php?units=miles&rg=NY&u=vdeane&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(100,200,200):rgb(0,140,160);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))
Title: Re: color codes
Post by: yakra on August 17, 2017, 04:16:28 am
An attempt at tweaking magenta now. (http://tm.teresco.org/user/mapview.php?units=miles&rg=ME&u=yakra&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(255,100,255):rgb(208,0,208);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))
Areas of focus = the Bangor-Orono-Old Town area, and US201AltSko.
Title: Re: color codes
Post by: michih on August 17, 2017, 03:31:07 pm
I've made traveled teal a slightly more blueish hue than the straight cyan it was before, and brightened up the traveled green a bit more.
What do you think? (http://tm.teresco.org/user/mapview.php?units=miles&rg=DEU,POL,DNK&u=michih&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,140,160);tier3:rgb(100,200,100):rgb(0,224,0);tier4:rgb(224,162,162):rgb(240,150,115);tier5:rgb(255,216,100):rgb(232,176,0))

I love it  8)
Title: Re: color codes
Post by: mapcat on August 17, 2017, 03:53:38 pm
I'd also like to see the Tier 5 default color become a little more vivid, and wouldn't mind shifting usausb to red and repurposing Magenta/Purple for another tier.


Also, why don't we use black, or dark grey, for anything? We could switch the tier 4 systems over to that and use brown for something else. IMO brown would be much better for the park routes, tourist routes, and historic routes. Once user-defined colors become possible, I plan on doing that for my own maps, but since we're talking about changing the defaults, I figured I'd put it out there.




Title: Re: color codes
Post by: michih on August 17, 2017, 03:59:20 pm
IMO brown would be much better for the park routes, tourist routes, and historic routes.

Seconded! I already proposed brown for these European systems...
Title: Re: color codes
Post by: michih on August 17, 2017, 04:10:58 pm
Also, why don't we use black, or dark grey, for anything?

I think that the tier 1 systems should stick out and blue is perfect for it. Black is darker but is similar to blue (might be hard to distinguish on low zoom).

Darkgrey might be an option to replace teal and get a better contrast to green...
Title: Re: color codes
Post by: vdeane on August 17, 2017, 10:25:15 pm
I've noticed that the traveled red and brown blend into each other a bit much, making it harder to distinguish US and state routes.
How's this look? (http://tm.teresco.org/user/mapview.php?units=miles&rg=NY&u=vdeane&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(100,200,200):rgb(0,140,160);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))
Much better!

Also, why don't we use black, or dark grey, for anything? We could switch the tier 4 systems over to that and use brown for something else. IMO brown would be much better for the park routes, tourist routes, and historic routes. Once user-defined colors become possible, I plan on doing that for my own maps, but since we're talking about changing the defaults, I figured I'd put it out there.
Historically, it would have been because CHM used them to draw borders.  Unless there are long-range plans to bring them back, that's no longer an issue, though IMO the map wouldn't look that good with a ton of black on it.
Title: Re: color codes
Post by: yakra on August 19, 2017, 02:25:19 am
I'd like to keep my focus in this thread around tweaking the existing color codes in tmjsfuncs.js for optimal visibility & "readability".
More significant changes and reorganization, things that would mean changes to systems.csv, I think may be better served spun off into their own topics.

That said, that's "my focus" (emphasis added), and people will say what they bloody well want in this thread and I'm powerless to stop them! 8)

Quote
I love it  8)
w0ot!

Quote
I'd also like to see the Tier 5 default color become a little more vivid
Tier 5 = yellow for everything other than gbrtr
How do you think this more gold yellow compares to the current default Tier 5 yellow?
mapcat in NS (http://tm.teresco.org/user/mapview.php?units=miles&rg=NS&u=mapcat&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(100,200,200):rgb(0,140,160);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))
mapcat in MT (http://tm.teresco.org/user/mapview.php?units=miles&rg=MT&u=mapcat&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(255,100,255):rgb(208,0,208);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))

Quote
wouldn't mind shifting usausb to red and repurposing Magenta/Purple for another tier.
I like having usausb a separate color from usaus, despite my earlier comments (http://tm.teresco.org/forum/index.php?topic=2174.msg7363#msg7363) on such. Magenta in its present state is suited for showing child routes of red systems, IMO. Repurposing it for a lower tier? I agree with Si's assessment (http://tm.teresco.org/forum/index.php?topic=2174.msg7365#msg7365): "too strong a colour for the sometimes dense systems". Outside of reworking the color codes for visibility/readability, that is. To that end, we've already got lightsalmon and yellow.

Quote
Also, why don't we use black, or dark grey, for anything?
Colors other than yellow & lightsalmon were inherited from CHM. On CHM, black & gray were used for country & region boundaries. I'd prefer reserving black & gray for borders, should they ever make a comeback as a mapview or tilemap option or whatever (compare CHM's CHMSys & CHMPct tilemap backgrounds). Grayscale means to me... something part of the background, something much less important, or unusable. Think of unusable buttons grayed out on an application or webpage. Or heck, untraveled route segments in the HB. (http://tm.teresco.org/hb/?units=miles&u=mapcat&r=ky.ky0001)

IMO brown would be much better for the park routes, tourist routes, and historic routes.
Seconded! I already proposed brown for these European systems...
If those maintaining Europe (just si & michih right now, right?) want to use brown for this, that's fine by me. The only brown system there now is gbrtr UK Tourist and Scenic Routes, which is certainly in keeping with such a scheme.
In North America, this would require a larger-scale rethink.
Right now, we have...
 • usanp (brown;4;preview) & usaush (brown;4;devel) -- I'd suggest yellow;5 for these, and...
 • cannss, which is already yellow;5;devel since I'm the one developing it. 8)
I think it's fine having separate overarching color schemes for Europe and North America; one size does not fit all, etc. etc.

Quote from: vdeane
IMO the map wouldn't look that good with a ton of black on it.
Seconded.
Title: Re: color codes
Post by: michih on August 19, 2017, 02:56:59 am
If those maintaining Europe (just si & michih right now, right?)

Since Iceland is Europe, Duke87 also maintains a European region ;)

I think it's fine having separate overarching color schemes for Europe and North America; one size does not fit all, etc. etc.

Don't forget Africa, Asia, Oceania, South America and Antarctica... :D The latter has a typo in continents.csv, I'll fix now.
Title: Re: color codes
Post by: yakra on August 19, 2017, 05:20:06 am
If we can come up with some general agreement on better default color codes, I'm all for it.  The original ones weren't given a ton of thought by me.
Yes, I want to move us in that direction.

Here are the latest colors I've been using in the mapviews I've made in response to others' posts:
       blue 6464FF / rgb(100,100,255) | 0000DC / rgb(0,0,220)
       teal 64C8C8 / rgb(100,200,200) | 008CA0 / rgb(0,140,160)
      green 64C864 / rgb(100,200,100) | 00E000 / rgb(0,224,0)
        red FF6464 / rgb(255,100,100) | E00000 / rgb(224,0,0)
    magenta FF64FF / rgb(255,100,255) | D000D0 / rgb(208,0,208)
lightsalmon E0A2A2 / rgb(224,162,162) | F09673 / rgb(240,150,115)
      brown 999866 / rgb(153,152,102) | 996600 / rgb(153,102,0)
     yellow FFD864 / rgb(255,216,100) | E8B000 / rgb(232,176,0)


Some sample mapviews
with colors specified tier-by-tier.
(As such, again, keep in mind that these mockups won't be a 1:1 representation of how a final product would look. Many regions have different-colored systems of the same tier, such as usausb & usasf.)
Europe Template:
michih in DEU,POL,DNK (http://tm.teresco.org/user/mapview.php?units=miles&rg=DEU,POL,DNK&u=michih&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,140,160);tier3:rgb(100,200,100):rgb(0,224,0);tier4:rgb(224,162,162):rgb(240,150,115);tier5:rgb(255,216,100):rgb(232,176,0))
si404 in ENG (http://tm.teresco.org/user/mapview.php?units=miles&rg=ENG&u=si404&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,140,160);tier3:rgb(100,200,100):rgb(0,224,0);tier4:rgb(224,162,162):rgb(240,150,115);tier5:rgb(255,216,100):rgb(232,176,0))
North America Template (3 = teal, E.G. usasf)
oscar in NS (http://tm.teresco.org/user/mapview.php?units=miles&rg=NS&u=oscar&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(100,200,200):rgb(0,140,160);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))
yakra in ME (http://tm.teresco.org/user/mapview.php?units=miles&rg=ME&u=yakra&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(100,200,200):rgb(0,140,160);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))
vdeane in NY (http://tm.teresco.org/user/mapview.php?units=miles&rg=NY&u=vdeane&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(100,200,200):rgb(0,140,160);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))
mapcat in NS (http://tm.teresco.org/user/mapview.php?units=miles&rg=NS&u=mapcat&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(100,200,200):rgb(0,140,160);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))
North America Template (3 = magenta, E.G. usausb)
yakra in ME (http://tm.teresco.org/user/mapview.php?units=miles&rg=ME&u=yakra&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(255,100,255):rgb(208,0,208);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))
julmac in MT (http://tm.teresco.org/user/mapview.php?units=miles&rg=MT&u=julmac&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(255,100,255):rgb(208,0,208);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))
mapcat in MT (http://tm.teresco.org/user/mapview.php?units=miles&rg=MT&u=mapcat&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(255,100,255):rgb(208,0,208);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))
vdeane in NY (http://tm.teresco.org/user/mapview.php?units=miles&rg=NY&u=vdeane&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(255,100,255):rgb(208,0,208);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0))

Please have a look around at the maps. Substitute your own username and your preferred region(s).
OK? In need of improvement? -- Let me know what you think.

If nothing else, I hope we can at least agree these colors are an improvement on the current TM defaults. :)
Title: Re: color codes
Post by: si404 on August 19, 2017, 07:49:49 am
  ;D ;D ;D ;D ;D
Title: Re: color codes
Post by: Jim on August 19, 2017, 10:25:19 am
We can also change the default map tiles to some other OSM-based ones if that makes for a better view with our new colors.
Title: Re: color codes
Post by: Jim on August 19, 2017, 10:29:02 am
After a quick look, it's a definite improvement.  I'd also like it if we can reserve brown for things like usaush and usanp and use some other default for U.S. state systems.  But that's a separate issue.
Title: Re: color codes
Post by: si404 on August 19, 2017, 12:20:37 pm
After a quick look, it's a definite improvement.  I'd also like it if we can reserve brown for things like usaush and usanp and use some other default for U.S. state systems.  But that's a separate issue.
mapcat in MT with tier 3 magenta and tier 4 light salmon (http://tm.teresco.org/user/mapview.php?units=miles&rg=MT&u=mapcat&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(255,100,255):rgb(208,0,208);tier4:rgb(254,162,162):rgb(240,150,115);tier5:rgb(255,216,100):rgb(232,176,0)) is very red-pink. unclinched us routes and clinched state routes are similar colours.
Title: Re: color codes
Post by: yakra on August 19, 2017, 01:28:16 pm
We can also change the default map tiles to some other OSM-based ones if that makes for a better view with our new colors.
The only other option in the system right now is DE. Not a good option IMO; it uses pretty bold colors that don't make for good contrast from the polylines.

After a quick look, it's a definite improvement.  I'd also like it if we can reserve brown for things like usaush and usanp and use some other default for U.S. state systems.  But that's a separate issue.
mapcat in MT with tier 3 magenta and tier 4 light salmon (http://tm.teresco.org/user/mapview.php?units=miles&rg=MT&u=mapcat&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(255,100,255):rgb(208,0,208);tier4:rgb(254,162,162):rgb(240,150,115);tier5:rgb(255,216,100):rgb(232,176,0)) is very red-pink. unclinched us routes and clinched state routes are similar colours.
This won't be a problem in North America unless we move tier 4 to lightsalmon, a separate issue as Jim notes.
But this could be an issue in other places...
lkefct in ISR:
custom colors (http://tm.teresco.org/user/mapview.php?units=miles&rg=ISR&u=lkefct&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,140,160);tier4:rgb(224,162,162):rgb(240,150,115)) | current defaults (http://tm.teresco.org/user/mapview.php?units=miles&rg=ISR&u=lkefct)
I can see the difference (unclinched red vs clinched lightsalmon) OK, but yes, it doesn't immediately jump out at me. It also helps that I'm looking at ISR at higher zoom levels to pick out the highways. It's harder to pick out on the default zoom level on my monitor for MT -- or even for ISR.
This one will take a little more thought...
Title: Re: color codes
Post by: michih on August 19, 2017, 03:54:22 pm
ISR

Asia :)
Title: Re: color codes
Post by: Jim on August 19, 2017, 10:04:09 pm
Here are the latest colors I've been using in the mapviews I've made in response to others' posts:
       blue 6464FF / rgb(100,100,255) | 0000DC / rgb(0,0,220)
       teal 64C8C8 / rgb(100,200,200) | 008CA0 / rgb(0,140,160)
      green 64C864 / rgb(100,200,100) | 00E000 / rgb(0,224,0)
        red FF6464 / rgb(255,100,100) | E00000 / rgb(224,0,0)
    magenta FF64FF / rgb(255,100,255) | D000D0 / rgb(208,0,208)
lightsalmon E0A2A2 / rgb(224,162,162) | F09673 / rgb(240,150,115)
      brown 999866 / rgb(153,152,102) | 996600 / rgb(153,102,0)
     yellow FFD864 / rgb(255,216,100) | E8B000 / rgb(232,176,0)


The tmtest server is now using this color scheme so we can check out more users and places more easily.
Title: Re: color codes
Post by: michih on August 20, 2017, 03:01:03 am
The tmtest server is now using this color scheme so we can check out more users and places more easily.

Thanks, my map of Europe (http://tmtest.teresco.org/user/mapview.php?u=michih&rg=DEU,BEL,NLD,POL,DNK,CZE,SWE,NOR,FIN,EST,LTU,LVA,AUT,CHE,LIE,LUX,FRA,ESP,PRT,ITA,SVN,HUN,ROU) looks fine :)
Title: Re: color codes
Post by: yakra on August 20, 2017, 03:33:51 am
Thanks, my map of Europe (http://tmtest.teresco.org/user/mapview.php?u=michih&rg=DEU,BEL,NLD,POL,DNK,CZE,SWE,NOR,FIN,EST,LTU,LVA,AUT,CHE,LIE,LUX,FRA,ESP,PRT,ITA,SVN,HUN,ROU) looks fine :)
I would love to click that link, but I only have 4 gigs of RAM and 4 gigs of swap file... 8)
Maybe soon I'll try the mapview out with Chromium or Chrome, and see if the memory footprint is lower, etc.
Title: Re: color codes
Post by: michih on August 20, 2017, 04:09:25 am
I would love to click that link, but I only have 4 gigs of RAM and 4 gigs of swap file... 8)

My FF needs additional 1.2GB RAM for it. On unloading, there is a peak up to additional 2.0GB.
Title: Re: color codes
Post by: yakra on August 21, 2017, 06:42:30 pm
The tmtest server is now using this color scheme so we can check out more users and places more easily.
In a change not yet reflected in tmjsfuncs.js (https://github.com/TravelMapping/Web/blob/master/lib/tmjsfuncs.js), these colors appear to have migrated to the main tm server, with the exception of untraveled (http://tm.teresco.org/user/mapview.php?units=miles&rg=NS&u=oscar) yellow (http://tm.teresco.org/user/mapview.php?units=miles&rg=NS&u=oscar&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(100,200,200):rgb(0,140,160);tier4:rgb(153,152,102):rgb(153,102,0);tier5:rgb(255,216,100):rgb(232,176,0)), which appears to still be the old #FFFF80 on tmtest (http://tmtest.teresco.org/user/mapview.php?units=miles&rg=NS&u=oscar) as well.
I don't know whether this (the migration, that is) was intentional. Jim?

Asia :)
Exactly. I picked ISR as an Asian mapview example, as it contains asim system (red;3) and isrh (lightsalmon;4).

mapcat in MT with tier 3 magenta and tier 4 light salmon (http://tm.teresco.org/user/mapview.php?units=miles&rg=MT&u=mapcat&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(255,100,255):rgb(208,0,208);tier4:rgb(254,162,162):rgb(240,150,115);tier5:rgb(255,216,100):rgb(232,176,0)) is very red-pink. unclinched us routes and clinched state routes are similar colours.
Back to attempting to sort out unclinched red vs clinched lightsalmon:

First, restoring the original TM clinched lightsalmon:
lkefct in ISR (http://tm.teresco.org/user/mapview.php?units=miles&rg=ISR&u=lkefct&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier3:rgb(255,100,100):rgb(224,0,0);tier4:rgb(224,162,162):rgb(255,160,122))
mapcat in MT (http://tm.teresco.org/user/mapview.php?units=miles&rg=MT&u=mapcat&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(255,100,255):rgb(208,0,208);tier4:rgb(224,162,162):rgb(255,160,122);tier5:rgb(255,216,100):rgb(232,176,0))
michih in DEU,POL,DNK (http://tm.teresco.org/user/mapview.php?units=miles&rg=DEU,POL,DNK&u=michih&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,140,160);tier3:rgb(100,200,100):rgb(0,224,0);tier4:rgb(224,162,162):rgb(255,160,122);tier5:rgb(255,216,100):rgb(232,176,0))
si404 in ENG (http://tm.teresco.org/user/mapview.php?units=miles&rg=ENG&u=si404&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,140,160);tier3:rgb(100,200,100):rgb(0,224,0);tier4:rgb(224,162,162):rgb(255,160,122);tier5:rgb(255,216,100):rgb(232,176,0))
From there, turning up the saturation a little more:
lkefct in ISR (http://tm.teresco.org/user/mapview.php?units=miles&rg=ISR&u=lkefct&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier3:rgb(255,100,100):rgb(224,0,0);tier4:rgb(224,162,162):rgb(255,151,110))
mapcat in MT (http://tm.teresco.org/user/mapview.php?units=miles&rg=MT&u=mapcat&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(255,100,100):rgb(224,0,0);tier3:rgb(255,100,255):rgb(208,0,208);tier4:rgb(224,162,162):rgb(255,151,110);tier5:rgb(255,216,100):rgb(232,176,0))
michih in DEU,POL,DNK (http://tm.teresco.org/user/mapview.php?units=miles&rg=DEU,POL,DNK&u=michih&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,140,160);tier3:rgb(100,200,100):rgb(0,224,0);tier4:rgb(224,162,162):rgb(255,151,110);tier5:rgb(255,216,100):rgb(232,176,0))
si404 in ENG (http://tm.teresco.org/user/mapview.php?units=miles&rg=ENG&u=si404&colors=tier1:rgb(100,100,255):rgb(0,0,220);tier2:rgb(100,200,200):rgb(0,140,160);tier3:rgb(100,200,100):rgb(0,224,0);tier4:rgb(224,162,162):rgb(255,151,110);tier5:rgb(255,216,100):rgb(232,176,0))
Personally, I like the 2nd option a little better when viewing Si's ENG map.

Si, what do you think of these maps? Michih?
Title: Re: color codes
Post by: Jim on August 22, 2017, 09:14:29 am
I didn't mean to make any changes on the tm server for this.  Maybe the recent shields updates caused me to copy a file unintentionally.

Traveling home the next few days from Eclipse Central, Nebraska, so I might not do much about this until late week.
Title: Re: color codes
Post by: michih on August 22, 2017, 11:33:51 am
Michih?

I think rgb(255,160,122) vs. rgb(255,151,110) for untraveled tier 4 looks identical...
Title: Re: color codes
Post by: si404 on August 22, 2017, 12:05:54 pm
Exactly. I picked ISR as an Asian mapview example, as it contains asim system (red;3) and isrh (lightsalmon;4).
Personally I don't mind a colour clash between these two systems - asim doesn't recognise the state of Israel and vice versa, however (as with eure and usai) continental systems don't seem to have the signage requirement - and - with the exception of a brief bit of isrf, asim in ISR is entirely concurrent with isrh.

It's similar with asiah in regions where there are tier 4 systems - pretty much unsigned in those regions, and almost entirely concurrent with the tier 4 systems.

Also asiah and asim are only really red as a default.

But, certainly, making unclinched routes of those colours more distinct is a good thing as it increases flexibility with the palette should we decide on a change.
Title: Re: color codes
Post by: Jim on August 24, 2017, 08:57:55 pm
I'm going to make the color scheme I previously had on tmtest and seemingly partially had on tm the default.  I heard no objections, at least.
Title: Re: color codes
Post by: yakra on August 25, 2017, 02:54:05 am
To clarify, it was also only partially implemented on tmtest.

colorCodes[3] = { name: "yellow", unclinched: "rgb(255,255,100)", clinched: "rgb(232,176,0)" };
->
colorCodes[3] = { name: "yellow", unclinched: "rgb(255,216,100)", clinched: "rgb(232,176,0)" };

Sounds good to me though. I think all-in-all, it's an improvement on the previous defaults.
We can still take some time to tweak the untraveled red vs. traveled lightsalmon contrast.
Title: Re: color codes
Post by: Jim on August 25, 2017, 08:23:23 am
To clarify, it was also only partially implemented on tmtest.

colorCodes[3] = { name: "yellow", unclinched: "rgb(255,255,100)", clinched: "rgb(232,176,0)" };
->
colorCodes[3] = { name: "yellow", unclinched: "rgb(255,216,100)", clinched: "rgb(232,176,0)" };

Sounds good to me though. I think all-in-all, it's an improvement on the previous defaults.
We can still take some time to tweak the untraveled red vs. traveled lightsalmon contrast.

Fixed on the main site, thanks.
Title: Re: color codes
Post by: yakra on August 25, 2017, 12:25:01 pm
tmtest is still using (255,255,100) :)
Title: Re: color codes
Post by: Jim on August 25, 2017, 12:44:31 pm
tmtest is still using (255,255,100) :)

Updated tmtest also now.
Title: Re: color codes
Post by: afarina on October 11, 2017, 12:10:27 pm
My apologies for resurrecting an idle thread, but I've only been hanging out on GitHub and not here yet. I see the talk of customizing the colors and the ability to put it directly into the web address. It makes me wonder: is there a way to embed these into a user's list file? I suppose I could see the setup to where a user customizes how their map appears with their own set of colors. It wouldn't allow for a usage across the board, perhaps, but it might be a nice step in that direction.

Cheers,
A
Title: Re: color codes
Post by: Jim on October 11, 2017, 07:59:11 pm
My apologies for resurrecting an idle thread, but I've only been hanging out on GitHub and not here yet. I see the talk of customizing the colors and the ability to put it directly into the web address. It makes me wonder: is there a way to embed these into a user's list file? I suppose I could see the setup to where a user customizes how their map appears with their own set of colors. It wouldn't allow for a usage across the board, perhaps, but it might be a nice step in that direction.

Cheers,
A

https://github.com/TravelMapping/DataProcessing/issues/65
Title: Re: color codes
Post by: michih on October 21, 2018, 11:09:52 am
I wanna highlight untraveled routes. I thought I can swap the two codes for each tier but it doesn't work (but I think it was possible in the past):

http://travelmapping.net/user/mapview.php?units=miles&sys=chea&u=michih&colors=tier1:rgb(100,100,255):rgb(0,0,220) standard
http://travelmapping.net/user/mapview.php?units=miles&sys=chea&u=michih&colors=tier1:rgb(0,0,220):rgb(100,100,255) swapped

Traveled and untraveled segments are faded. What's wrong?