Ben's Notebook

Noteworthy topics, mostly technical

Pygame Utilities

These utilities are released under the MIT License.

Interactive Color Chart

Pygame has a long list of built-in color names that can be used to initialize a pygame.Color object. This little tool displays all the colors in grid format. Hover a color with your mouse to see its name, RGB value, HSV value, and CMY value.

Screenshot of the color chart

Interactive Font Chart

This utility displays a scrollable list of all available system fonts, each line rendered in that font. Press the plus/minus keys to increase/decrease the font size.

One of the Pygame example files is conceptually similar but cannot change the font size.

Screenshot of the font chart