adding support for mid color