Question: Language: C++ I need help writing code that converts a decimal color value to an rgb value. For example, the decimal 16711680 is suppose to
Language: C++
I need help writing code that converts a decimal color value to an rgb value. For example, the decimal 16711680 is suppose to return 255, 0, 0 , which is the color red, then after it turns into an rgb value, i have to convert it to a hexadecimal value, which is FF0000.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
