Literal colour outside the declared palette
- Reads
- Literal hexadecimal, RGB, RGBA, HSL or HSLA values in supported colour, background, border, outline, fill and stroke declarations.
- Violation
- The contract contains approved colours and the normalised literal value is absent from that set.
- Skipped
- Values expressed through CSS variables, calculations, gradients without a supported literal or browser-derived state.
- Common review
- Semantic status colours, third-party widgets, illustrations and temporary campaign surfaces may have approved exceptions not present in the small contract.
- Repair
- Identify the semantic role first. Replace the raw value with the correct named token, then inspect the rendered element in every relevant state.