Implementing the export of thematic layers

- method to convert MI color to hex value
- grayscale
- export of ranges theme almost completed