Goto Options > Library & Folders > ...Manage Library Fields...
In the new window, click
Add New Field and name it what you want.
I would do the following (just a suggestion), change
Edit Type to
Cannot be edited, uncheck
Show a link checkboxClick the
Calculated data radio button and enter your expression in the text box below
Example below (alter as needed)
Replace(
<font color="8F8F8F">[Name] | [Artist]<//font>,
8F8F8F,
IfElse(
IsEqual([Genre],Rock,1),
B452CD,
IsEqual([Genre],Math(Hip-Hop|Rap),1),
7CCD7C,
IsEqual([Genre],Pop,1),
DDA0DD,
1,
6495ED)
)
The new field will have the following format:
Song Title | Artist Name
If the song is Rock, the field will be purple (B452CD)
Hip-Hop or Rap will be green (7CCD7C)
Pop will be light purple (DDA0DD)
and if it doesn't match any genre, blue (6495ED)
You can find the color code at
http://www.rapidtables.com/web/color/RGB_Color.htmIf you don't know anything about expressions, you can just figure out the format (Song Title | Artist Name) you want, the color code you want your Genre (Rock, Pop, etc...) to be, and post it here. When I have time, I'll write the code and post it.