======================== Color (hwx.inspire.core) ======================== Stores a color value as 3 RGB float values between 0 to 1 The color can also be set by name like: obj.color = "blue" -------------- Public Methods -------------- +-------------------------------------------------------+ | castForSet_ (self, obj, value) | +-------------------------------------------------------+ | getGuiValue_ (self, obj, component=None, format=None) | +-------------------------------------------------------+ -------------- Method Details -------------- .. _castForSet: .. method:: castForSet(self, obj, value) Converts and validates the color value before setting. :param obj: Object this attribute belongs to. :type obj: GeneralObject :param value: Value of the attribute to set. :type value: str :returns: Validated and converted value. :rtype: Triple .. _getGuiValue: .. method:: getGuiValue(self, obj, component=None, format=None) Returns color value as shown in the Property Editor.