Beyond brightness/contrast sliders.
The SVG standard has a rich set of color transformation functions, the most general being component-wise functions including gamma and piecewise linear:
https://drafts.fxtf.org/filter-effects/#feFuncRElement
There is also a matrix combiner for RGBA,
https://drafts.fxtf.org/filter-effects/#feColorMatrixElement
Not sure whether this can wrap our whole Leaflet map object. Looks like maybe you can, using the 'url' function in CSS:
https://developer.mozilla.org/en-US/docs/Web/CSS/filter#applying_svg_filters
This page gives a good summary of the CSS filters available and their SVG equivalents.
https://developer.mozilla.org/en-US/docs/Web/CSS/filter
Beyond brightness/contrast sliders.
The SVG standard has a rich set of color transformation functions, the most general being component-wise functions including gamma and piecewise linear:
https://drafts.fxtf.org/filter-effects/#feFuncRElement
There is also a matrix combiner for RGBA,
https://drafts.fxtf.org/filter-effects/#feColorMatrixElement
Not sure whether this can wrap our whole Leaflet map object. Looks like maybe you can, using the 'url' function in CSS:
https://developer.mozilla.org/en-US/docs/Web/CSS/filter#applying_svg_filters
This page gives a good summary of the CSS filters available and their SVG equivalents.
https://developer.mozilla.org/en-US/docs/Web/CSS/filter