Searched refs:rgbtuple (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Tools/pynche/ |
D | ColorDB.py | 86 def find_byrgb(self, rgbtuple): argument 89 return self.__byrgb[rgbtuple] 91 raise BadColor(rgbtuple) 213 rgbtuple = _namedict.get(color) 214 if rgbtuple is None: 220 rgbtuple = int(red, 16), int(green, 16), int(blue, 16) 221 _namedict[color] = rgbtuple 222 return rgbtuple 226 def triplet_to_rrggbb(rgbtuple): argument 229 hexname = _tripdict.get(rgbtuple) [all …]
|
D | pyColorChooser.py | 54 rgbtuple = self.__sb.current_rgb() 65 name = colordb.find_byrgb(rgbtuple)[0] 69 name = ColorDB.triplet_to_rrggbb(rgbtuple) 70 return rgbtuple, name
|
D | ChipViewer.py | 106 rgbtuple = (red, green, blue) 107 rrggbb = ColorDB.triplet_to_rrggbb(rgbtuple)
|
D | StripViewer.py | 257 def __trackarrow(self, chip, rgbtuple): argument 264 coloraxis = rgbtuple[self.__axis] 283 brightness = ColorDB.triplet_to_brightness(rgbtuple)
|