Legends for custom attributes under Requirements table

Hello, 

How to provide legend for custom attributes?  I have custon attributes like complied, partially complied, and not complied for each requirement. I want to assign legend  with color coding  for these attribute. It is something similar to what is available for "Risk" column in Req. table.

Thanks in advance.

Amit Kalhapure