(Ad, Ad, Ad, Ad)
(Rd, Gd, Bd, Ad)
(1, 1, 1, 1)
(1 - Rc, 1 - Gc, 1 - Bc, 1 - Ac)
(1 - Ad, 1 - Ad, 1 - Ad, 1 - Ad)
(1 - Rd, 1 - Gd, 1 - Bd, 1 - Ad)
(1 - As, 1 - As, 1 - As, 1 - As)
(1 - Rs, 1 - Gs, 1 - Bs, 1 - As)
(As, As, As, As)
(min(As, 1 - Ad), min(As, 1 - Ad), min(As, 1 - Ad), 10)
(Rs, Gs, Bs, As)
(0, 0, 0, 0)
(Rc, Gc, Bc, Ac)