Full-disclosure: fairly new to QGIS (v3.4), and I am currently styling a map for presentation. I'm trying to match colors within data contained on a layer using "Categorized" styling, so that I can differentiate hierarchy between State/Local/Private/etc roadways, and also do this between discrete layers.

It seems like the way to do this would be to create a "New Palette" of swatches within the "Change Symbol Color" dialogue. Normally, I would expect this would allow me to save a dozen color swatches I like, and then load this palette when styling another item, either within the same layer, or another item on a different layer - but that does not seem to be the way it works. Instead, I find the palette which I've saved, but it is empty with no contents (???). Is this a bug or an environmental variable thing? Do I need to export/save the palette outside of QGIS and load it for each different layer? This seems like a total P.I.A. Anyone else experience this or have a workaraound solution?

New contributor
Justin Kray is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
up vote 2 down vote accepted

It seems I was just looking in the wrong place - there is in fact a way to setup project-level color palettes in QGIS, but it is in a different spot. If you go to Project -> Properties -> Default Styles this will let you setup symbology defaults for different types of geometry and color-ramps and color palettes too! Once you do this and save it, your new custom palette will automatically show up in your symbol color-pickers!

There is also a whole lot more that can be accomplished with Python (not there yet): Using Python to generate color palettes

And some ready-made palettes available for download here: GPL Files for QGIS

Screen-cap of Default-Styles dialogue (From QGIS 2.6 documentation): Color Palette Documentation

New contributor
Justin Kray is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • I installed all those lovely pre-made color palettes a while ago, and couldn't remember where I found them. Glad you found them and shared the link. – csk Nov 8 at 19:27

I'm not sure exactly where you're seeing a "change symbol color" dialog, but here are a few different ways to save colors and use them again later.

You can add pre-defined colors to the project from the Project menu > Properties > Default Styles.

enter image description here

You can apply project styles to features from the select color interface > color swatches tab > choose "project colors" from the dropdown menu.

enter image description here Notice that in the same interface, you also have the option to choose from recent colors. So you can actually skip the step of saving colors in the project menu, and just use recent colors.

For quick access to the options described above, right-clicking on the color in the layer-styling tab opens this menu:

enter image description here

Notice that you have access to recent colors, standard color palettes, and project colors.


The QGIS-3 series has an enormous number of different ways to customize the symbology of your layers. See the The Style Manager section of the QGIS User Manual.

Your Answer

Justin Kray is a new contributor. Be nice, and check out our Code of Conduct.
 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.