i see, you would need to modify the conditions and use the abs function where the price is added.
for example:
(abs([Quantity]>0 && [Quantity] <= 23) * ([Price] * [Quantity]))
should be changed to:
(abs([Quantity]>0 && [Quantity] <= 23) * ((abs(DarkColor == 1)?[Price] + 3:[Price]) * [Quantity]))