luminance → CGFloat

Get the relative luminosity value of the color. This follows the W3 specs of luminosity to give weight to colors which humans perceive more of.