My complementary and triadic color calculator doesn't work, need help

these are the blocks.
this is an example of the app. When i input an RGB, the colors that output is clearly not a complementary colour of the original RGB. Blocks included above

please help ive been at this for hours and can’t figure out whats wrong for the life of me

thanks

Export and upload the aia file for us?

Also, post a link to an explanation of what you are trying to do.

basically the functions convert the rgb input into hsv, complementary and triad function then converts the hsv into the respective complementary(1) and triadic colors (2) and converting it back to rgb for the make a color block for the bg colour of the button.

That aia file is empty.

colourharmony.aia (15.7 KB)
functions convert the rgb input into hsv, complementary and triad function then converts the hsv into the respective complementary(1) and triadic colors (2) –> converts it back to rgb for the make a color block for the bg colour of the button

(sorry for broken english it isn’t my first language)

It is still empty. Contains only 2-3 blocks.

Try the second screen.

For starters your complementary colour calculator could be simpler:

Here the above as a procedure

and an RGB to HSV convertor procedure

and an HSV to RGB convertor procedure

Finally a procedure, using the two procedures above for HSV, to generate RGB values for ttriadic colours:

and to round things off, an aia that generates the complementary and triad of colours:

compTriad.aia (12.9 KB)

Holy cow
tysm!

This was of interest to me, so I got a bit carried away...

colourHarmony.aia (27.1 KB)

ref

(added to FAQ)

Was only one screen. But does not matter now. @TIMAI2 has already gave him the solution.

Nope, definitely two screens

This is what the aia file loads for me. Chrome.

With two screens

You are right. I haven’t got used to the new menu yet. It used to show it on the side menu in all components as well. Well, it shows I do not use physical screens :):head_shaking_horizontally: