I'm using QGIS 3.4.1, and downloaded the SRTM data for the area of my interest, and added the TIFF format SRTM data file to my project using "add raster layer" option.
Here, I wish to change the contour color gradient for SRTM data from property-symbology menu. More precisely, I wish to color the height in terms of RGB value. For the project of mine, I only need to use red and green colors.
Following is the detail:
Formula is (Red Channel) + (Green Channel * 255).
For example: if a pixel value is RGB (171,1,0) then the height is (171) + (1 * 255) = 426
Another example: if a pixel value is RGB (107,2,0) then the height is (107) + (2 * 255) = 617
How can I differ my contour color for my raster layer (SRTM TIFF file) in the same way with those example?