How to Filter Search Results by Percentage of Each Category?

I’m try to create a Search Filter that allows user to Set Filter in percentage so that the results display (not exact) but “mostly X category”

I’m using this as URL parameter:
?qty=10&color=50&age=25&sex=25

QTY = 10 Users
COLOR = 50% (half of light and dark skin)
AGE = 25% (25% Kids and 75% Adult)
SEX = 25% Female and 75% Male

Here is an example of that search filter: