srgbToLinear

Converts the value from sRGB color space to linear color space.
Example:
const srgbColor = [0.5, 0.5, 0.5];
const linearColor = srgbColor.map(function (c) {
    return Cesium.srgbToLinear(c);
});
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.