Change The ColorTable for the imagery

1. A concise explanation of the problem you’re experiencing.

At first, I load a imagery in WMS server.

Second, suppose the value of this image is just 0 and 1 and the 0 is shown as black and the 1 is shown as red.

Third, I want change the colorTable of my imagery, such as change the color of value 1 to blue, how can I do to get it.

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

let imageryLayers = viewer.imageryLayers;
let provider = new Cesium.WebMapServiceImageryProvider({
url: myURL,
layers: myName,
parameters: {
    service: 'WMS',
    format: 'image/png',
    transparent: true,




**3. Context. Why do you need to do this? We might know a better way to accomplish your goal.**

**4. The Cesium version you're using, your operating system and browser.**

This currently isn’t possible to do at runtime, but there’s an open feature request for this here:

Feel free to :+1 that or chime in with your use case there to give it more support.

What is currently implemented is adjusting various settings like hue/brightness etc for imagery layers:

Or applying customer effects to the entire scene:

That will allow you to swap out the color 1 (which would be white, with RGBA 1,1,1,1 to whatever custom color you’d like) but it’ll apply it to the whole scene, not just the imagery.