Color at 80% + 0x00FFF at 20%

Hi There,

Is it possible, if I have a colour, i.e., 0x00DD11, to modify it by taking that number to be 80% of a mix and the color 0x00FFFF (for example) to be 20% of the mix, and generate the new number (i.e., it would be 0xXXXX)…so I can use it to pass into variables I have for setting colours?

In other words how can I say something like:


where blueColour=“0x00FFFF”…and currentColour=ANY 0xXXXXXX colour string…

Or something like that…

Thanks for any help,