let color = window.getComputedStyle( document.querySelector('.element'), ':after' ).getPropertyValue('color')