O'Reilly logo
  • Lynoure Braakman thinks this is interesting:

>>> target_color_name = 'FireBrick' >>> target_color_rgb = (178, 34, 34)

From

Cover of Modern Python Cookbook

Note

Not related to the current topic, but this will lead to multiple rgb value sets called FireBrick, or multiple names for each set of rgb values. When just dabbling interactively, it's fine, in a multiuser system it's not.