I think I already posted this in the other thread for changing the background color inline, but here is it for changing the color and with the conditions. You will need to find which td tag you are interested in changing and then just add the color part. If you have problems, post the code you tried and tell us the outcome.
HTML Code:
<if condition="is_member_of($post, X)">
<td class="alt2" id="td_post_$post[postid]" style="color: yellow;">
<else />
<if condition="is_member_of($post, Y)">
<td class="alt2" id="td_post_$post[postid]" style="color: red;">
<else />
<td class="alt2" id="td_post_$post[postid]" style="color: blue;">
</if>
</if>