Class ColorHelper

Class ColorHelper

Methods summary

public static getLuminance( StringType $color ) : integer

Retrieves the percentage of the relative luminance (based on the photometric definition of luminance) of a passed color.