as in idc, to change the color of a single instruction, you can do:
SetColor(here(), CIC_ITEM, 0xbbGGrr)
note its 0xbbggrr not 0xrrggbb
you can use DEFCOLOR (0xffffff) to go back to normal. other options are CIC_FUNCTION and CIC_SEGMENT.
If you are looking for a way to set the color of a node in the graph view, I think that's not available from idc nor IDA Python. If I'm not mistaken, it can be done from a plugin simply using the function set_node_info(ea, node, color, pea2, text).
thanks, I was/am using SetColor one instruction at a time and had thought that maybe I was just missing what the equivalent of set_node_info is in idc. thanks again
Note: Registration is required to post to the forums.