Search In
• More options...
Find results that contain...
Find results in...

# How to compute your Crew Color by algorithm.

## Recommended Posts

I'm trying to work out the mathematics of blending the colors.

When you say you apply a 8% blend with a pure blue filter (0,0,1) in the code, i guess that's (0;0;255) and 8% is 0,04 because your fx program considers the perfect blend of two colors the 100% (which would be 50% in a normal equation to calculate the blend : (colorA+((colorB-colorA)*percentage))

In case of Red and Blue for example:
(255+(0-255)*0,5);0;(0+(255-0)*0,5)= 128;0;128 (I had to calculate a 50% blend here but fx considers this the 100%)

so If I blend the previous output of 138,88,70 with 0,0,255 with 8%

...

Oh yeah, look how close the end result is to the input! This is amazing!

tjakal you are simply fantastic for making all this! This will be an incredible help for everyone from now on!

Edited by Hegedus.Roberto

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

• ### 3 Users Currently Viewing 1 member, 0 Anonymous, 2 Guests

• flexcreator
×