system.kanoa.utilities.getComplementaryColors(count, red, green, blue)
This function will return a list of ordered colors which are tetradic complements of the provided rgb value Works for up to 8 colors. Need to write code to change hue after that.
Parameters
count Integer: The number of colors to be returned
red Integer: Source color red
green Integer: Source color green
blue Integer: Source color blue
Returns
colors List of Strings List of complementary colors in hex format (i.e. #FF00FF)
Example
print system.kanoa.utilities.getComplementaryColors(5, 255, 0, 0)
>>>
['#ff0000', '#ffbf00', '#7fff00', '#00ff3f', '#00feff']