captcha
captcha copied to clipboard
how can I generate a Blue fonts
background = (0, 0, 255) # random_color(238, 255)
color = (0, 0, 255, 255) # random_color(0, 200, random.randint(220, 255))
im = self.create_captcha_image(chars, color, background)
#self.create_noise_dots(im, color)
#self.create_noise_curve(im, color)
im = im.filter(ImageFilter.SMOOTH)
When I set the 'color' Blue to 255(Red=0, Green=0), it seems that no use. The font is not blue. Would you like help me. Thank your very much
I have the same problem. I could not change the font color to black, please help!!!
See my gist. You only need to remember that RGB of your favourite blue colour and put it in the code. gist I hope it solved your doubt.