# Advanced colour manipulation

**URL:** <https://forum.kirupa.com/t/advanced-colour-manipulation/189791>\
**Category:** flash\
**Created:** [June 6, 2006, 10:09am UTC](https://forum.kirupa.com/t/advanced-colour-manipulation/189791 "2006-06-06T10:09:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JimmyH](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jimmyh/32/1884_2.png) [@JimmyH](https://forum.kirupa.com/u/JimmyH)\
**Post date:** [June 6, 2006, 10:09am UTC](https://forum.kirupa.com/t/advanced-colour-manipulation/189791/1 "2006-06-06T10:09:30Z")

</div>

Hello to you all.

I know how to manipulate hex colours by splitting the num bers up and perfoming calcutaions on them using bit-operators. Thats fine…

but i now need to manipulate colour not using the normal RGB. I need to be able to add two colours together like paint. E.g. red and blue equals purple, yellow and blue equals green.

Has anyon e had any experience with this and even more importantly can it be done? (i assume it can… nothings impossible)

cheers

James
