> 16; g = color >> 8 & 255; b = color & 255; } hsp = Math.sqrt( 0.299 * (r * r) + 0.587 * (g * g) + 0.114 * (b * b) ); return hsp > 127.5 }, visibleThemedAreas: 0, footerInViewport: false, lightBackground: true, activeFilter: 1 }" x-init=" lightBackground = lightOrDark(currentTheme.backgroundColor), $watch('currentTheme', (value) => { styleTheme(currentTheme), lightBackground = lightOrDark(current