Maru Kun

70%
Flag icon
Pygal styles are stored in the style module from which we import the style RotateStyle ➊. This class takes one argument, an RGB color in hex format ➋. Pygal then chooses colors for each of the groups based on the color provided. The hex format is a string with a hash mark (#) followed by six characters: the first two represent the red component of the color, the next two represent the green component, and the last two represent the blue component. The component values can range from 00 (none of that color) to FF (maximum amount of that color). If you search online for hex color chooser, you ...more
Python Crash Course: A Hands-On, Project-Based Introduction to Programming
Rate this book
Clear rating