(colors)
return set([('on_' + c) for c in colors] +
               [('bright_' + c) for c in colors] +
               [('on_bright_' + c) for c in colors])
Return the names of valid color variants, given the base colors.
Return the names of valid color variants, given the base colors.
Return the names of valid color variants given the base colors .
def derivative_colors(colors):
    """Return the names of valid color variants, given the base colors."""
    return set([('on_' + c) for c in colors] +
               [('bright_' + c) for c in colors] +
               [('on_bright_' + c) for c in colors])
def derivative_colors ( colors ) : return set ( [ ( 'on_' + c ) for c in colors ] + [ ( 'bright_' + c ) for c in colors ] + [ ( 'on_bright_' + c ) for c in colors ] )