Replace hardcoded colours with CSS