#NEWLINE# @ classmethod #NEWLINE# def from_hex( cls , color , fg = True ) : #NEWLINE# #INDENT# 'Converts #123456 values to colors.' #NEWLINE# self = cls ( fg = fg ) #NEWLINE# self . _from_hex ( color ) #NEWLINE# return self