I have a map with a large number of polygons that I want to colour individually for display purposes. There is not particular pattern required, only to present them as individual catchments in a figure.

Is there a method to achieve this in QGIS?


3 Answers 3


Use a Categorized style on the layer.

enter image description here


In QGIS 2.8.1 version, Right click on the layer. Go to Layer Properties. Clcik Styles Tab. Select drop down value Categorized. Use Random colors from Color Ramp drop down list.


With 'unic symbol' symbology, you can set the value of the color with an expression:


to simulate the RGB value like (250,0,6)

  • 1
    I think it shall be color_rgb(rand(0, 255), rand(0, 255), rand(0, 255))
    – Taras
    Sep 22, 2020 at 4:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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