RGB Percentages of CGA/EGA Colours

Well, actually it's fractional values. I find the following table handy when attempting to convert programs written for those sorts of monitors.
Colour #RGB
0000
1002/3
202/30
302/32/3
42/300
52/302/3
62/31/30
72/32/32/3
81/31/31/3
91/31/31
101/311/3
111/311
1211/31/3
1311/31
14111/3
15111

I don't need to know the remaining 48 (EGA-only) colours too often so I haven't got around to them yet.