def _GetHilightGlowColor(self):
     if self._colorHiliteGlow:
         return self._colorHiliteGlow
     color = Color(*self._GetHilightColor()).SetBrightness(1.0)
     if color.GetSaturation() > 0.2:
         color.SetSaturation(0.2)
     self._colorHiliteGlow = color.GetRGBA()
     return self._colorHiliteGlow
 def _GetBaseContrastColor(self):
     if self._colorBaseContrast:
         return self._colorBaseContrast
     color = self.GetUIColor(colorType=uiconst.COLORTYPE_UIBASE)
     color = Color(*color)
     b = color.GetBrightness()
     if b < 0.12:
         b += 0.1
         s = color.GetSaturation()
         color.SetSaturation(s * 0.75)
     else:
         b *= 0.8
     self._colorBaseContrast = color.SetBrightness(b).GetRGBA()
     return self._colorBaseContrast