Result:
Red:
Green:
Blue:
Output:
Result: