Skip to main content

system.kanoa.utilities.getComplementaryColors

This function requires KanoaCore module

Description

This function will return a list of ordered colors which are tetradic complements of the provided RGB value (kanoaCore).

Syntax

getComplementaryColors(count, r, g, b)
  • Parameters
      count (Int) - The number of colors to be returned.
      r (Int) - Source color red component.
      g (Int) - Source color green component.
      b (Int) - Source color blue component.
  • Returns
      colors (List) - List of complementary colors.
  • Code Example

    # Example Usage:
    complementary_colors = system.kanoa.utilities.getComplementaryColors(5, 255, 0, 0)