D 2013-08-31T13:59:55.329 L Greyscale N text/x-markdown P 054e11907061ef47aacb9d33ba55350362cce694 U user W 302 # Greyscale The idea is simple too. We should change original pixel color with the another RGB, - (c, c, c) instead of original (r, g, b) components, - but with the same RGB vector length. Formula for this conversion is: c = RGB_length * sqrt(3), where RGB_length = sqrt(r*r + g*g + b*b) Z 2ebf18457532563baafcc281e4ea803f