Example #1
0
def validate_color(col):
    return cssprofiles.validateWithProfile(
        'color', col, profiles=[profiles.Profiles.CSS_LEVEL_2])[1]
Example #2
0
 def validate_color(col):
     return cssprofiles.validateWithProfile('color',
                 col,
                 profiles=[profiles.Profiles.CSS_LEVEL_2])[1]