Function
Hemisc_contrast_ratio
Declaration
gdouble
he_misc_contrast_ratio (
gdouble red,
gdouble green,
gdouble blue,
gdouble red2,
gdouble green2,
gdouble blue2
)
Parameters
red-
Type:
gdoubleThe red component of the background color. . green-
Type:
gdoubleThe green component of the background color. . blue-
Type:
gdoubleThe blue component of the background color. . red2-
Type:
gdoubleThe red component of the foreground color. . green2-
Type:
gdoubleThe green component of the foreground color. . blue2-
Type:
gdoubleThe blue component of the foreground color. .