Good idea.
I'll google a hex converter for colors and test that
Hmm seems hex colors use 6 digits since hex also uses a-f.
Did find this site though
Digital Colors
I see that some are listed as ### ### ### maybe the last or first digit is a black/white level