<html><head></head><body>Hi Dario,<br><br>You can create project colors (in project properties, default colors) corresponding to your categories) and link to them (see the tip at <a href="https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#id62)">https://docs.qgis.org/3.16/en/docs/user_manual/introduction/qgis_configuration.html#id62)</a><br><br>Regards,<br>Harrissou<br><br><div class="gmail_quote">Le 6 octobre 2021 12:10:08 GMT+02:00, Dario C <dario955i@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi,<br><div>Is there any way to assign an ID to a category in order to use the same color assigned for other objects?</div><div><br></div><div>For instance, I'd like to have in my layout a bar with the same colour of a categorized object (at the moment I simply do a copy and paste colour, but, of course if I change the colour of the object my bar is not updated).</div><div><br></div><div>Thank you in advance</div></div>
</blockquote></div></body></html>