Home | History | Annotate | Download | only in pynche

Lines Matching full:blue

10 and blue are self evident.  By tying together red and green, you can modify
11 the yellow level of the color. By tying together red and blue, you can modify
12 the magenta level of the color. By tying together green and blue, you can
32 preserve the distance between them. Thus if green and blue were tied,
33 and green was at 238 while blue was at 223, and an increment of 25
34 were applied, green would be at 15 and blue would be at 0.
109 self.__radio3 = Checkbutton(frame, text='Blue',
201 blue = self.__blue + delta
202 tie.append(blue)
204 blue = self.__blue
208 if red < 0 or green < 0 or blue < 0 or \
209 red > 255 or green > 255 or blue > 255:
211 red, green, blue = self.__red, self.__green, self.__blue
217 if blue < 0:
218 blue += 256
223 if blue > 255:
224 blue -= 256
240 blue = blue + 255 - delta
248 blue = blue - delta
254 if blue < 0:
255 blue = 0
260 if blue > 255:
261 blue = 255
262 self.__sb.update_views(red, green, blue)
265 def update_yourself(self, red, green, blue):
268 self.__blue = blue