add alpha support for hex representation of color
optimize background-image assignment
format code