Question: can you please type the code for me to copy in C++ 3.16 LAB: Remove gray from RGB Summary Given integer values for red, green,
3.16 LAB: Remove gray from RGB Summary Given integer values for red, green, and blue, subtract the gray from each value Computers represent color by combining the sub-colors red, green, and blue (rob) Each sub-colors value can range from 0 to 256. Thus (255, 0, 0) is bright red. (130,0,130) is a medium purple,(0,0,0) is black, 255, 255, 255is white, and (40. 40. 40) is a dark gray. (130, 50, 130) is a taded purple, due to the (50,50,50) gray part. (In other words, equal amounts of red green bide Vield cray) Gwen values for red green, and blue, remove the gray part Exif the uputis 130 50 130 the output is: 0 0 30 Find the smallest Value, and then subtract it from all three values thus removing the gray Note 10 converts tab values into colors 5901 EAN ACTIVITY 3161 LAB Remove gray from RGB 0110 main.cpp oder plote include lost WA SELO A01
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
