上QQ阅读APP看书,第一时间看更新
How it works...
In the first code snippet, the fill method is called and the color value is provided as the first argument. The fill method will loop through all the pixels and set them to the desired color, which, in this case, is the color blue. This method accepts both the hex color notation and tuples of three integer values.