def test_lighten():
 assert (lighten('#800', 20) == '#e00')
 assert (lighten('#800', 0) == '#800')
 assert (lighten('#ffffff', 10) == '#ffffff')
 assert (lighten('#000000', 10) == '#1a1a1a')
 assert (lighten('#f3148a', 25) == '#f98dc6')
 assert (lighten('#121212', 1) == '#151515')
 assert (lighten('#999999', 100) == '#ffffff')
 assert (lighten('#1479ac', 8) == '#1893d1')

def test_lighten ( ) : assert ( lighten ( '#800' , 20 ) == '#e00' ) assert ( lighten ( '#800' , 0 ) == '#800' ) assert ( lighten ( '#ffffff' , 10 ) == '#ffffff' ) assert ( lighten ( '#000000' , 10 ) == '#1a1a1a' ) assert ( lighten ( '#f3148a' , 25 ) == '#f98dc6' ) assert ( lighten ( '#121212' , 1 ) == '#151515' ) assert ( lighten ( '#999999' , 100 ) == '#ffffff' ) assert ( lighten ( '#1479ac' , 8 ) == '#1893d1' )
test lighten color function .