Implemanted public float greyscale

return (float)((0.212*r) + (0.7152*g) + (0.0722*g));
Ref: R. W. G. Hunt, M. R. Pointer (2011), Measuring Colour 4Th Edition
Page 238