getColor(color_name)
→ QColor
Return a QColor object for a Houdini resource color with the specified name.
Resource colors are defined in the Houdini color scheme files (look for
*.hcs
files in $HFS/houdini/config).
Raise hou.OperationFailed if no color with the specified resource name exists.
Tip
You can use hou.ui.colorFromName to get a HOM color object instead of a Qt color object.