6.7 Colours
Purpose
This chapter defines the color system used by the web app and map rendering logic.
It standardizes previous mixed blue/green/red/gray hardcoded values into semantic tokens.
Canonical Palette
The core ATLAS–OSM palette is centralized in CSS tokens and JavaScript constants. A few page-specific colors, notably the matched GTFS marker in the GTFS stop_id ↔ SLOID view, are still defined locally in that page's CSS and JavaScript.
Semantic Mapping
Map markers
- Matched ATLAS marker: navy
#174092 - Matched OSM marker: green
#4CAF50 - Matched GTFS stop_id marker (GTFS stop_id ↔ SLOID view): orange
#F0AD4E - Unmatched ATLAS marker: red
#DC3545 - Unmatched OSM marker: gray
#6C757D
Map lines
- ATLAS-OSM connection lines: navy
#174092(solid) - OSM group partner lines: green
#4CAF50(dashed6,4) - OSM trio lines: green
#4CAF50(dashed6,4)
Information Banners
Used for global stats summaries and problem identification details.
- Background: Primary subtle
#eef3fb - Border: Primary muted (alpha variant of
#174092) - Text: Primary navy
#174092
Priority System
Standardized across Analytics reports and Problem identification chips.
- P1: Red
#DC3545(Danger/Critical) - P2: Orange
#F0AD4E(Warning/Significant) - P3: Gray
#6C757D(Secondary/Minor)
Token Sources
CSS tokens
Main token file:
Relevant token names:
--color-primary--color-primary-hover--color-primary-subtle--color-success--color-success-hover--color-map-atlas-matched--color-map-osm-matched--color-map-atlas-unmatched--color-map-osm-unmatched--color-map-line-atlas-osm--color-map-line-osm-group
JS constants
Main constants file:
Relevant constants:
AppConstants.COLORS.ATLAS_MATCHEDAppConstants.COLORS.OSM_MATCHEDAppConstants.COLORS.ATLAS_UNMATCHEDAppConstants.COLORS.OSM_UNMATCHEDAppConstants.COLORS.LINE_ATLAS_OSMAppConstants.COLORS.LINE_OSM_GROUPAppConstants.COLORS.LINE_OSM_GROUP_DASHAppConstants.COLORS.LINE_OSM_GROUP_DASH_ALT
Page-specific GTFS color
The matched GTFS marker color (#F0AD4E) is currently defined in both:
It does not yet have a dedicated --color-map-gtfs-matched CSS token or AppConstants.COLORS.GTFS_MATCHED constant.