contrast_ratio


Description:

public double contrast_ratio (double red, double green, double blue, double red2, double green2, double blue2)

Gives the contrast ratio between two colors.

Parameters:

red

The red component of the background color.

green

The green component of the background color.

blue

The blue component of the background color.

red2

The red component of the foreground color.

green2

The green component of the foreground color.

blue2

The blue component of the foreground color.

Since:

1.0


Namespace: He.Misc
Package: libhelium-1