Read Color.TBL file

Dear All,

How to read all the data of color.tbl file? For example the color '3' contains the RGB Value 255,0,0. Similarly I need to retrieve all the colors and their RGB Values in a specific color.tbl .