Question: PLEASE SOLVE THEM IN C++ USING CODEBLOCKS OR ANY PROGRAM. 10. Digital Colors Digital colors can be represented as a combination of red, green, and

PLEASE SOLVE THEM IN C++ USING CODEBLOCKS OR ANY PROGRAM.
10. Digital Colors Digital colors can be represented as a combination of red, green, and blue, with an alpha value specifying how opaque they are. Each value is one byte, and thus in the range of 0 to 255. Instead of having 4 one-byte values, the colors can be stored in one unsigned int of 4 bytes. The single number is a sum of the alpha value multiplied by 16,777,216; the red multiplied with 65,536; the green with 256; and blue. Write a program that represents the color (128, 255, 128, 64), where the first value is the alpha value
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
