I want to write a text/xml file that will serve in QGIS 3.26 as a discrete colormap of a vector layer by one of its fields (using Symbiology->Categorized):
The field mentioned has 100 values but I want to specifically assign unique colors only to 3 values ,the other 97 values should be mapped to a single color as follows:
- 'Spain' should be mapped to RGB value (120,34,25)
- 'Italy' should be mapped to RGB value (12,238,45)
- 'Romania' should be mapped to RGB value (127,100,200)
- All other values should be mapped to RGB value (0,0,0)
How do I achieve this?