src/vs/base/common/color.ts/Color/_relativeLuminanceForComponent
class Color:	private static _relativeLuminanceForComponent(color: number): number {
		const c = color / 255;
		return (c <= 0.03928) ? c / 12.92 : Math.pow(((c + 0.055) / 1.055), 2.4);
	}