Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2 . 1 8 LAB: Remove gray from RGB Summary: Given integer values for red, green, and blue, subtract the gray from each value. Computers
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 subcolors red, green, and blue rgb Each subcolor's value can range from to Thus is bright red, is a medium purple, is black, is white, and is a dark gray. is a faded purple, due to the gray part. in other words equal amounts of red, green, blue yield gray
Given values for red, green, and blue, remove the gray part
Ex: If the input is:
the output is:
Find the smallest value, and then subtract it from all three values thus removing the gray
Note This page converts rigb values into colors.
LAB ACTIVITY
: LAB :Remove gray from
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started