Adding default background (#ffffff).
Adding fix for shorthand hex-values (like #fff).