Certified Professional in Python Programming (PCPP-32-101) — Question 37
If purple can be obtained from mixing red and blue, which color codes represent the two ingredients? (Choose two.)
Answer options
- A. #FFFFFF
- B. #0000FF
- C. #FF0000
- D. #000000
Correct answer: B, C
Explanation
The correct color codes for red and blue are #FF0000 and #0000FF, respectively. Option A, #FFFFFF, represents white, and option D, #000000, represents black, neither of which contribute to mixing purple.