Detect different black tones Math advice - Illustrator
I'm working on replacing some irregular black tones in a document and I'm curious if anyone has math advice on this. It seems #000000 reads as c:75 m:68 y:67 k:90 and has a brightness of 0%. 100% K is R:35 G:31 B:32 and has a brightness of 13%, however there doesn't seem to be way to get brightness info anyway. I'm thinking there are 2 methods to judge what I want to be perceived as black.
1: CMYK approach
Check if K is greater than 85%
Check if C M Y are greater than 66%
I checked vs Pantone Blacks(though not arguably gray at best), and most are above these ranges, seems a higher Cyan value is also helpful here not to stay in gray territory.
2: RGB approach
Check if R G B are lower than 35
Determine if they're within 10 points of eachother
This arguably entering gray territory, 35 is the highest value we get with 100% K, and pushing any values away further away from eachother starts to become a color.
Is there simpler logic than this?
