ColorMap associates a range of breaks (raster values) with a color.
Currently rendering a raster results snapping each pixel value to the closest break value and assign it corresponding color value. As such the output raster may only have colors explicitly specified in the color ramp. This is how Discrete color rendering works in QGIS.
This issue is to add a rendering option that will interpolate option to rendering that takes place in WMS and WMTS endpoints. When enabled the assigned color is going to be interpolated (linearly) in the color space based on distance of the pixel value between two closest break values in the ColorMap.