Question
RGB to gray conversion
Hi Everyone!,
Is there is any mathematical function/formula to convert RGB/Hex to gray color conversion?
for example,
if the we have red color FF0000 [ 255,0,0] and convert into gray 7f7f7f [127,127,127]
[ 255,0,0] this value changed to [127,127,127]
Anyone colud explain this conversion?
