harmonize

open fun harmonize(@ColorInt colorToHarmonize: Int, @ColorInt colorToHarmonizeWith: Int): Int

A convenience function to harmonize any two colors provided, returns the color int of the harmonized color, or the original design color value if color harmonization is not available.

Parameters

colorToHarmonize

The color to harmonize.

colorToHarmonizeWith

The primary color selected for harmonization.