Page 1 of 1

TASK 1: Swap Brightest and Darkest Colors (15 – 20 min) Create a function LightDark which identifies the brightest color

Posted: Tue Apr 26, 2022 4:07 pm
by answerhappygod
Task 1 Swap Brightest And Darkest Colors 15 20 Min Create A Function Lightdark Which Identifies The Brightest Color 1
Task 1 Swap Brightest And Darkest Colors 15 20 Min Create A Function Lightdark Which Identifies The Brightest Color 1 (41.81 KiB) Viewed 51 times
TASK 1: Swap Brightest and Darkest Colors (15 – 20 min) Create a function LightDark which identifies the brightest color of a given image (closest to white) and swaps that color with the darkest color of the image (closest to black). HINT: The brightness of a color is proportional to the sum of its RGB values.
Normal Colors Swapped C