# Colours

Every company have their own set of colours that relate to its core brand. However the UI branding can be different to the marketing branding as there are other factors that need to be considered when designing for product.&#x20;

This is to ensure products will adapt intelligently and flexibly to cater to people's preferences. Whilst also complying with AA standard contrast ratios. To do this well, choose a primary, secondary, and extended colours that support usability by ensuring sufficient colour contrast between elements so that people with low vision can see and use the interface.

Design is inclusive and we should always remember that.&#x20;

### Colours chosen in this UI Pattern guidelines

For the purpose of the UI pattern guidelines i have selected random colours that have been applied throughout the components. The colours chosen do not reflect an existing company's UI branding and is completely fictional.

The tints and shades have been used in the design of our components. The light and dark definition comes from the calculation, Light 10 = 10% of white has been added and Dark 10 = 10% of black added, only the base value has been defined with a hex reference.

![](https://3802052413-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAR5Yg4q9IkTHuRlbjQ%2F-MAXmHwtl1vpNqB39uYJ%2F-MAXmbyZY_LswvOc9gmQ%2FColour%20Palette.png?alt=media\&token=ae50389b-0ae9-4aed-838f-2c96e8b9911e)

### Colour contrast

![](https://3802052413-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAR5Yg4q9IkTHuRlbjQ%2F-MAXmHwtl1vpNqB39uYJ%2F-MAXmkJC-lhJs-fLiI8W%2FColor%20Contrast.png?alt=media\&token=c9041bb9-06ea-411c-a04f-bf4fca054478)

![](https://3802052413-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MAR5Yg4q9IkTHuRlbjQ%2F-MAXmHwtl1vpNqB39uYJ%2F-MAY3nDrLSdON6ut_cwS%2FColour%20usage.png?alt=media\&token=901fe73b-c0f9-4a2a-b80a-766eeb74925c)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hinahirani.gitbook.io/ui-guide/foundations/colours.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
