He.Contrast.darker – libhelium-1 Reference Manual
Packages
libhelium-1
He
Contrast
RATIO_30
RATIO_45
RATIO_70
RATIO_MAX
RATIO_MIN
darker
darker_unsafe
lighter
lighter_unsafe
ratio_of_tones
ratio_of_ys
darker
Description:
public
static
double
darker
(
double
tone,
double
ratio)
Returns tone <= tone parameter that ensures the ratio with the input tone.