(function(){ var colours = { primaryNormal: 'custom-colour__primary--ribena', secondaryNormal: 'custom-colour__secondary--default', printNormal: function() { print(this.primaryNormal + ' ' + this.secondaryNormal + ' '); }, sectorsAndCapabilities: [], relatedExpertise: [], printRelatedExpertise: function() { if (this.relatedExpertise.length) { print('custom-colour__primary--%' + 'globals_asset_metadata_Colour.palette.primary:' + this.relatedExpertise[0] + '^as_asset:asset_name^lowercase^replace: :-' + '%'); print(' '); print('custom-colour__secondary--%' + 'globals_asset_metadata_Colour.palette.secondary:' + this.relatedExpertise[0] + '^as_asset:asset_name^lowercase^replace: :-' + '%'); print(' '); } else { this.printNormal(); } }, printSectorsAndCapabilities: function() { if (this.sectorsAndCapabilities.length) { print('custom-colour__primary--%' + 'globals_asset_metadata_Colour.palette.primary:' + this.sectorsAndCapabilities[0] + '^as_asset:asset_name^lowercase^replace: :-' + '%'); print(' '); print('custom-colour__secondary--%' + 'globals_asset_metadata_Colour.palette.secondary:' + this.sectorsAndCapabilities[0] + '^as_asset:asset_name^lowercase^replace: :-' + '%'); print(' '); } else { this.printNormal(); } } }; var isPerson = false; var isInsight = false; var isEvent = false; if (isPerson) { colours.printSectorsAndCapabilities(); } if (isInsight || isEvent) { colours.printRelatedExpertise(); } if (!(isPerson || isInsight || isEvent)) { colours.printNormal(); } // Text Colours var WHITE = "custom-colour__contrasting--white"; var BLACK = "custom-colour__contrasting--black"; var THRESHOLD = 0.3; // Convert Hex Colours to RGB var getRGB = function(hex) { var color = hex.replace("#", "").slice(0, 6); // Convert Hex to RGB return color.match(/.{1,2}/g).map(function(value) { return parseInt(value, 16); }); }; // Determine ideal contrasting text colour given a background colour var getContrastingColor = function(hex) { var rgb = getRGB(hex); // Calculate adjusted values for each RGB value, to be used to determine the // "relative luminance" of each colour: // https://en.wikipedia.org/wiki/Relative_luminance var adjusted = rgb.map(function(value) { value = value / 255; if (value < 0.03928) { value = value / 12.92; } else { value = (value + 0.055) / 1.055; value = Math.pow(value, 2.4); } return value; }); var luminance = adjusted[0] * 0.2126 + adjusted[1] * 0.7152 + adjusted[2] * 0.0722; if (luminance > THRESHOLD) { return BLACK; } return WHITE; }; var primaryColourHex; if (isPerson) { primaryColourHex = ""; // print hex of the Sector associated with person } if (isInsight || isEvent) { primaryColourHex = ""; // print hex of the Sector associated with news/event } if (!primaryColourHex) { primaryColourHex = "5c42a5"; } // DEFAULT COLOUR if (!primaryColourHex) { primaryColourHex = "412d5e"; } if (primaryColourHex) { print(getContrastingColor(primaryColourHex)); } })(); %frontend_asset_assetid^replace:{globals_site_assetid}|{globals_site_index_id}:H^eq:H:home:inside% " data-root-url="%globals_site_url%">
Make a payment
%globals_asset_contents_raw:15744%
%globals_server_HTTPS^eq:on:https:http%://%globals_server_SERVER_NAME%%globals_server_REQUEST_URI%
R e a d .
EU residency applications: when Covid met Brexit

Insights - 21st December 2021

Will there be unexpected immigration benefits due to the pandemic?

Read more
R e a d .
Christmas parties and employment law - your annual (joyful) warning

Insights - 10th December 2021

We share how to best avoid any issues at your Christmas party.

Read more
R e a d .
Four-day working week: Top ten tips for employers

Insights - 6th December 2021

What factors should employers consider before implementing a four day working week?

Read more
R e a d .
Employers: is it time to take a look at your life assurance arrangements?

Insights - 2nd December 2021

Employees could be caught by the erosion of the real value of the pension lifetime allowance.

Read more
R e a d .
The beginning of the end of the furlough scheme – what next?

Insights - 3rd November 2021

What do employers do if there is no current work for employees but there may be in the future?

Read more
R e a d .
Trade Union Inducements and Collective Bargaining – the Supreme Court decides

Insights - 28th October 2021

The Act has been getting considerable traction by the trade union movement in recent years.

Read more

Pagination 128 AND 16 AND 8 AND fb.pageNumber 1 AND calculation.... 15

129