f(x) applies to the domain of words that have a strong color association, either because they are inherently colorful objects or are commonly associated with a specific color. The rule does not apply to words outside of this domain, such as names of people or places, and words that have a less clear color representation.