Operator Brands
We provide high-quality, up-to-date names, logos and colors for our operators, and in many cases also for their train service brands, such as DB's ICE or Renfe's AVE.
Logos are always available as vector files, and can also be fetched in several bitmap formats. Each logo has a light mode and a dark mode version. They are sized by a designer to match each other.
Using logos
The logo is the image field on Operator and on ServiceBrand. Both are on the Segment, wherever segments appear: timetable journeys, a priced journeyOffer and its parts, booked offer parts, and the segments of a JourneyOrderItem on an order.
image returns a FileResource: the logo url, its MIME type, and a name to use as alt text.
- Logos differ in width but always have the same height, so use a fixed height in your layout.
- Use the
urlas it is, and don't build your own version. The URL is stable and safe to cache. - If
imageis null, show the name instead.
Formats
image takes a format: svg (the default), png, webp, avif or jpg.
Light and dark versions
Pass variant: DARK_MODE to get the logo made for dark mode. The default is LIGHT_MODE.
Example: Logo versions for the operator and their service brands
query Journeys {
journeys(
origin: { uid: "TfjI48oe" }
destination: { uid: "MeUscqzG" }
date: "2026-12-23"
) {
id
itinerary {
... on SegmentCollection {
segments {
operator {
name
image {
url
}
darkMode: image(variant: DARK_MODE) {
url
}
}
serviceBrand {
name
image(format: "png") {
url
}
darkMode: image(format: "png", variant: DARK_MODE) {
url
}
}
}
}
}
}
}{
"data": {
"journeys": [
{
"id": "6d7b7d05-f200-4e2d-af3f-9ac7088749a8",
"itinerary": [
{
"segments": [
{
"operator": {
"name": "Deutsche Bahn",
"image": {
"url": "https://assets.allaboard.eu/image/operator/db.svg"
},
"darkMode": {
"url": "https://assets.allaboard.eu/image/operator/db.dark.svg"
}
},
"serviceBrand": {
"name": "InterCity Express",
"image": {
"url": "https://assets.allaboard.eu/image/service_brand/db_intercity-express.png"
},
"darkMode": {
"url": "https://assets.allaboard.eu/image/service_brand/db_intercity-express.dark.png"
}
}
}
]
}
]
}
]
}
}Accent colors
Operators also come with an accent color that can be used to further improve your application designs.
See the accentColor field on Operator. It returns a hex string, such as #ec0016, and takes the same variant as image:
LIGHT_MODE, the default, has a contrast of at least 4.5:1 on white.DARK_MODEhas a contrast of at least 4.5:1 on#1B1C23.
The colors are WCAG AA level (4.5:1) for regular text sizes, supporting both dark and light backgrounds.
accentColorcan be null, so fall back to your regular text color.DARK_MODEdoesn't fall back to the light-mode color.- We don't provide accent colors for Service brands, only for operators.
Rome
London
Madrid
Paris
Rome
London
Madrid
Paris
Example: Accent color for the operator of each segment
query Journeys {
journeys(
origin: { uid: "TfjI48oe" }
destination: { uid: "MeUscqzG" }
date: "2026-12-23"
) {
id
itinerary {
... on SegmentCollection {
segments {
operator {
name
accentColor
darkMode: accentColor(variant: DARK_MODE)
}
}
}
}
}
}{
"data": {
"journeys": [
{
"id": "6d7b7d05-f200-4e2d-af3f-9ac7088749a8",
"itinerary": [
{
"segments": [
{
"operator": {
"name": "Deutsche Bahn",
"accentColor": "#ec0016",
"darkMode": "#ff6b78"
}
}
]
}
]
}
]
}
}Related documentation
Operator, ServiceBrand and FileResource.