Need to calculate the Value of a pixel
<p>I have a RGBA values,
R - 255,
G - 103,
B - 103,
Alpha - 103.</p>

<p>Need combination of the (RGB) color value. Example - 26532.(combination of colour value/Pixel value)</p>

<p>Description - Image is made of pixels, each pixel has combination of colors(like - RGB).
Need to calculate the mean of the image and we need to have the unique value of the pixel.
Each pixel has 4 colour values but need the pixel value( combination of colour values)</p>
