Jailbroken
1 | + (BOOL)isJailBroken |
Color darkness or lightness
https://www.w3.org/WAI/ER/WD-AERT/#color-contrast
((Red value X 299) + (Green value X 587) + (Blue value X 114)) / 1000
Note: This algorithm is taken from a formula for converting RGB values to YIQ values. This brightness value gives a perceived brightness for a color.