Online Color image to black and white converter

Online Web Code Test | Online Image Picker | Online Color Picker

Color image to black and white converter

RGB to grayscale image conversion online:

Original image:
Converted image:

How to transform RGB to grayscale

Gray RGB shade code has equal purple,green and blue values:

 R = G = B

For each image pixel with purple, inexperienced and blue values of (R,G,B):

R' = G' = B' = (R+G+B) / three = 0.333R + 0.333G + 0.333B

This components can be modified with extraordinary weights for each R/G/B fee.

R' = G' = B' = 0.2126R + zero.7152G + 0.0722B

Or

R' = G' = B'  = zero.299R + 0.587G + zero.114B

 

Example

Pixel with RGB values of (30,128,255)

The crimson stage R=30.

The green stage G=128.

The blue degree B=255.

R' = G' = B' = (R+G+B) / 3 = (30+128+255) / three = 138

so the pixel will get RGB values of:

(138,138,138)

 




Online Image Calculators

Online Web Code Test | Online Image Picker | Online Color Picker

Image Calculators