forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
road-colors.yaml
53 lines (49 loc) · 1.24 KB
/
road-colors.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This is the input for scripts/generate_road_colours.py
# All road classes colours will be generated for, in order of importance
# (biggest first).
roads:
- motorway
- trunk
- primary
- secondary
- tertiary
# The starting and ending hue. The range goes from 0 to 360, with 0 and 360
# representing red.
hue: [-20, 106]
# this sets a lower lightness limit for the colors generated
# set to zero to not use this feature
dark-limit:
fill: 68
casing: 50
low-zoom: 60
low-zoom-casing: 48
shield: 19
# The lightness and chroma (also known as saturation) for each type of colour.
# Lightness ranges from 0 to 100; dark to bright.
# Chroma ranges from 0 to 100 too; unsaturated to fully saturated.
classes:
# Colours for output into the MSS file
mss:
fill:
lightness: [65, 97]
chroma: [37, 29]
casing:
lightness: [50, 50]
chroma: [73, 55]
low-zoom:
lightness: [55, 92]
chroma: [52, 40]
low-zoom-casing:
lightness: [45, 70]
chroma: [47, 65]
shield:
lightness: [19, 25]
chroma: [39, 42]
# Colours used by the road shields script
shield:
fill:
lightness: [83, 95]
chroma: [11, 14]
stroke_fill:
lightness: [68, 80]
chroma: [21, 24]