stylishHarmonizeWith

Harmonizes this color with a primary color so that both share a compatible hue while remaining distinguishable.

Delegates to MaterialKolor's HCT-based harmonization (com.materialkolor.ktx.harmonize), which shifts this color's hue toward the primary color's hue in a way that leaves the original color recognizable. Use it to tint accent colors toward a brand primary without losing their identity.

Return

The harmonized color.

Parameters

primary

The color to harmonize toward, typically ColorScheme.primary.