I have a polyline vector layer with in one column the route number (of the bus) and in another the hexadecimal color (eg 'FF88AA'). Preview:

enter image description here

I know how to style the file but only by using the single symbology, found here: How to style a vector layer in QGIS using hexadecimal color code stored in attribute?

Is there a way by using 'categories' or something as I need a legend with the route number and the matching color. Is this possible in QGIS?

  • Do you use/ have access to QGIS or also other software? Or do you want to only use QGIS?
    – MarcM
    Commented Nov 20, 2020 at 15:24
  • Hi, yes preferably i want to use QGIS to do this. If not possible perhaps via office excel? Commented Jan 14, 2021 at 14:11


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.