background-gradient[similarity]: Add some diff functions.