Report as inappropriate.
Press start and watch the images...
First the Colors are sorted by their alpha-value.
Then, according to the brightness.
Press 1 && 2, to change between two modes!
Press space to see the brightness in black-white images.
If you want, you are of course allowed, to copy the methods/classes.
But unfortunately, they are not perfect...