system.kanoa.utilities.getComplementaryColors(count, r, g, b)
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
r Integer: source color red
g Integer: source color green
b Integer: source color blue
Returns
colors List of Strings list of complementary colors if hex foramt (i.e. #FF00FF)
Example
print system.kanoa.utilities.getComplementaryColors(5, 255, 0, 0)
>>>
['#ff0000', '#ffbf00', '#7fff00', '#00ff3f', '#00feff']