Have you tried the colorEditor command? The results of the selection can be easily queried in rgb(+a) and hsv.
-- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/c4791c25-e42a-408e-b59d-24018fe9f62e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.