Feature request #12707

Avoid too similar colours in the same project

Added by Paolo Cavallini over 8 years ago. Updated over 5 years ago.

Assignee:Nyall Dawson
Pull Request or Patch supplied:Yes Resolution:
Easy fix?:No Copied to github as #:20813


When loading layers a random colour is assigned to each. Quite often it happens that the colours are rather similar, thus confusing the user. I have the impression that this happens more often in 2.8 compared to previous versions.
It would be good if QGIS could check the colours already used in the project, and select something different enough for the next layer.


#1 Updated by Giovanni Manghi over 6 years ago

  • Easy fix? set to No

#2 Updated by Paolo Cavallini over 5 years ago

  • Assignee set to Nyall Dawson
  • Status changed from Open to Feedback
  • Description updated (diff)

A solution has been proposed, possibly implemented in QGIS 3.x.

#3 Updated by Nyall Dawson over 5 years ago

  • Pull Request or Patch supplied changed from No to Yes
  • Status changed from Feedback to Open

Still work in progress- a PR is open here https://github.com/qgis/QGIS/pull/6265, but some bits left to do

Also available in: Atom PDF