Duotone Icons - colors

As duotone icons (and indeed multi colored icons) are now becoming more prevalent in HA, is it possible in cards to change the color of the individual fa-primary and fa-secondary paths? I know it will be templating if it is possible.

If an icon is duotone - you may try styling it with card-mod like any “normal” icon.
Very few standard cards can customize colors for “normal” icons out-of-box (tile, heading, badge).

“Prevalent”? Can you name any example? )))

When i stated “prevalent”, i should have described as “more common”. Icon integrations such as fontawesome and the yeelight icons are using the options of dual colour icons so it seems to be a much more accepted and “common” method for icons.

Anyhow, since first posting, i have been more successful at searching for solutions. One such example, using split svg paths and custom button templates is one i will use as a template for my version.

https://community.home-assistant.io/t/show-two-color-icon-where-color-changes-with-state/297471/3?u=stain3565