We are using geoserver 2.15.0.
On the following page:
The following sentence is not correct:
type="intervals" value means that each interval defined by two entries is rendered using the color of the first (lowest-value) entry.
(since the color of the highest value is used. e.g. all values in the interval -300 <= x < 0 are colored in blue, which is the color associated with 0)
In addition, the image 'https://docs.geoserver.org/stable/en/user/_images/rasterlegend.png' contains some errors:
in the first column, '-300 > x' should be '-300 >= x'
in the second column, '-300< x' should be '-300 > x'