@noaigniteutilscalculateLuminancecalculateLuminance Helper function to calculate relative luminance for a colorcalculateContrastcapitalize