Just read a very interesting article on how NASA’s Perseverance rover is doing imaging:
https://arstechnica.com/science/2021/02/perseverances-eyes-see-a-different-mars/
In the article is a link to a more detailed account of the Mastcam-Z’s design and construction:
https://mastcamz.asu.edu/the-mastcam-z-filter-set-how-perseverance-will-see-the-colors-of-mars/
They kind of gloss over the translation of out-of-visible-spectrum wavelengths for visualization, but really good insight into how cameras do their thing for specific purposes.