Enchant permanent
As long as enchanted permanent is red or green, it has "At the beginning of your upkeep, sacrifice this permanent unless you pay its mana cost."
It can enchant a permanent that is not red or green, but it doesn’t do anything in that case.