Commodore 64 color code to PETSCII code conversion

Color code
(dec, hex)
PETSCII code
(dec, hex)
Color
0$00144$90black
1$015$05white
2$0228$1Cred
3$03159$9Fcyan
4$04156$9Cpurple
5$0530$1Egreen
6$0631$1Fblue
7$07158$9Eyellow
8$08129$81orange
9$09149$95brown
10$0A150$96pink
11$0B151$97dark grey
12$0C152$98grey
13$0D153$99light green
14$0E154$9Alight blue
15$0F155$9Blight grey