You can use the IF function, implementing logic based on the desired result—such as colors, names, or styles.
Note: You can use application variables, page variables, or even page parameters to aid in the flow you want to build.