Color visibility of objects
If white light is shined on a red Ball, it will appear red because it absorbs blue and green light and reflects only red. if the green light is shined on a red Ball, it absorbs green and reflects no color, making it appear black.
When white light is shined on a yellow Color, it absorbs blue light and reflects a mixture of red and green light, making it appear yellowish. “If you shine blue light on a yellow Color, it absorbs blue and appears blackish because it absorbs blue.