He.Contrast.ratio_of_ys – 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
ratio_of_ys
Description:
public
static
double
ratio_of_ys
(
double
y1,
double
y2)
Contrast ratio is a measure of legibility, used to compare the lightness of two colors.