it tries to find the given RGB color within existing color tables (or add a new color to the extended color table)
OdDgColorTable Methods