def relative_luminance(r, g, b):
    """ Converts linear RGB components to relative luminance.
		See: https://en.wikipedia.org/wiki/Relative_luminance
	"""
    return 0.2126 * r + 0.7152 * g + 0.0722 * b
