![SOLVED: Trying to draw rectangles in python with a gradient color effect. Using the PIL library. This is the spec sheet with the image of what the rectangles should look like. The SOLVED: Trying to draw rectangles in python with a gradient color effect. Using the PIL library. This is the spec sheet with the image of what the rectangles should look like. The](https://cdn.numerade.com/ask_images/57f4db6ab502432a93f57161cf884995.jpg)
SOLVED: Trying to draw rectangles in python with a gradient color effect. Using the PIL library. This is the spec sheet with the image of what the rectangles should look like. The
![Python: Create Images Using PIL. There are several ways to create images… | by Case Robertson | Python in Plain English Python: Create Images Using PIL. There are several ways to create images… | by Case Robertson | Python in Plain English](https://miro.medium.com/v2/resize:fit:966/1*sKvmHO5VlJ60jCVBPFGQ6Q.png)
Python: Create Images Using PIL. There are several ways to create images… | by Case Robertson | Python in Plain English
![Incorrect border color in corners when drawing rectangles with border color with opacity < 1 · Issue #5182 · python-pillow/Pillow · GitHub Incorrect border color in corners when drawing rectangles with border color with opacity < 1 · Issue #5182 · python-pillow/Pillow · GitHub](https://user-images.githubusercontent.com/5589029/103621117-032bdf80-4f35-11eb-8814-047f6389e77e.png)
Incorrect border color in corners when drawing rectangles with border color with opacity < 1 · Issue #5182 · python-pillow/Pillow · GitHub
![python - Matplotlib draw rectangle over image, rectangle specified in image coordinates - Stack Overflow python - Matplotlib draw rectangle over image, rectangle specified in image coordinates - Stack Overflow](https://i.stack.imgur.com/2YkNh.png)