> For the complete documentation index, see [llms.txt](https://infinitode-docs.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitode-docs.gitbook.io/documentation/package-documentation/hued-package-documentation.md).

# Hued Package Documentation

## Changelog

* **1.0.7 (Latest)**: Added 2 new functions in `analysis.py` to check color quality and simulate color blindness.
* **1.0.6**: Added export functions in `ColorPalette` and a new gradient generation function.
* **1.0.5**: Added `XYZ` / `CIE 1931 XYZ` color format to `conversions.py`.
* **1.0.4**: Added 500+ new names to `colors.py`.
* **1.0.3**: Updated PYPI project description.
* **1.0.1 - 1.0.2**: Created new functions, including color blending, conversion methods between common types, and new color schemes under the `ColorPalette` class.
* **1.0.0**: Initial release.

## Installation

You can install Hued using PyPi. Please make sure that you are using Python 3.6 or later before installing Hued:

```bash
pip install hued
```

***

## Example Usage

### Color Properties

```python
from hued.colors import ColorManager

# Initialize the color manager
color_manager = ColorManager()

# Generate a random color
colorBlue = color_manager.get_color_by_name("Blue");

print("Blue Hex:", colorBlue.get("Hex"));
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://infinitode-docs.gitbook.io/documentation/package-documentation/hued-package-documentation.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.
