A repository of custom scripts that can be used with Sentinel-Hub services.
Show script or download it.
let gain = 2.5;
return [B04, B03, B02].map(a => gain * a);
The true color product maps Sentinel-2 band values B04, B03, and B02 which roughly correspond to red, green, and blue part of the spectrum, respectively, to R, G, and B components.