Contrast
Static Class
Inheritance
objectStatic Methods
Returns a tone <= tone that ensures ratio. Returns -1 if ratio cannot be achieved.
Unsafe darker version. Returns 0 if ratio cannot be achieved.
Returns a tone >= tone that ensures ratio. Returns -1 if ratio cannot be achieved.
Unsafe lighter version. Returns 100 if ratio cannot be achieved.