# Color

There are 3 main uses for color in a visualization:

* Patterns
* Labeling
* Highlighting

We encode **quantities** with color to visualize **patterns** in the data. **Segmentation** and **heat maps** are popular examples for this.

Color can also be used to **label** or **group** items together.

**Highlighting** is used to allow the viewer to **focus** on a specific part of the visualization. For example, highlighting a certain line in a line chart that has multiple lines.

This section deals with 3 aspects of color in visualization:

1. Color Perception
2. Color Specification
3. Color Use


---

# 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://vikram-bajaj.gitbook.io/cs-gy-6313-information-visualization/color.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.
