normalize colors to lowercase and #fff not #ffffff