Converts a 2-character hex value to a relative luminance value for use in {{RGBColorToLum}}.